Commit

4032adf

hey! are there some cool ideas for a new syntax ?)

commit 4032adf

well, maybe some of them might not be terrible, haha. The main one that seems interesting to me is "using expressions".
csharp
int result = using<int>(var resource = new MyClass()) {
    resource.DoStuff();
    return resource.ReadExitCode();
};
another one that is easy, but might get abused is "block break by keyword".
csharp
using(var x=new Y()) {
    foreach(var z in x.List) {
        if(z.IsBad) break using;
    }
}    
…