prog.cs(8,24): error CS0246: The type or namespace name `List' could not be found. Are you missing a using directive or an assembly reference?
prog.cs(8,9): error CS0825: The contextual keyword `var' may only appear within a local variable declaration
prog.cs(9,27): error CS0841: A local variable `list' cannot be used before it is declared
Compilation failed: 3 error(s), 0 warnings