Imagine the following code:
class foreach_convert { public static void method2() { List x = new List();
With C# 3 I'm using var - so I get the compiler warnings.