Activity overview
Latest activity by Victor86
Clive Tong wrote:
IEnumerable<string> namesStartingWithA = new string[] { "a" }.Where<string>(delegate (string n) { ...
Here we rid of (I'm not sure how it should be in English) type inference and lambdas, but extension method (Where) still remain. I need this transform:
IEnumerable<string> namesStartingWithA = Enumerable.Where<string>(new string[] { "a" }, delegate (string n) { ...
/ comments
Clive Tong wrote:
IEnumerable<string> namesStartingWithA = new string[] { "a" }.Where<string>(delegate (string n) { ...
Here we rid of (I'm ...
Well, Clive, thank you very much for the answer!
Оne more question.
How to manage extension methods? I want Reflector to generate old-style call:
IEnumerable<string> namesStartingWithA = Enumerable.Where(
names, delegate(string n) { return n.StartsWith("A"); });
instead of 3.0 syntax:
var namesStartingWithA = names.Where(name => name.StartsWith("A"));
May be, it's worth to add two different items (C# 2.0 and C# 3.0) insted of the only one (C#) in language choise combobox? / comments
Well, Clive, thank you very much for the answer!
Оne more question.
How to manage extension methods? I want Reflector to generate old-style call:
IEnumerable<string> namesStartingWithA = Enum...
ECMA-334 compliant code
Good morning!
I've got a crucial question about retrieving C# 2.0 code without vars (type inference), extension methods and anonymous types. Could anyone advise a place to ask this question somewhe...
C# 2.0Â Support
Good evening!
I've got an assembly compiled by C# 3.0 compiler targeting to .NET Framework 2.0.
I'd like to get C# 2.0 compliant code, but Reflector gives only C# 3.0 code. How can I overcome this ...