jeudi 3 mars 2011

The .Net Framework next Version 4.5

In your opinion, what new features will be on The .Net Framework next Version 4.5 ? personally, i think that .net team will implement a new TYpe Called "ANY", that means Any type.
For example:
Any any = new Any();
any=5 ;
any=Datetime.Now;
any= new List();


But the difference between this Type and "Var" or "Dynamic",is that on developpement time (on VS editor),the any object will change it type, depending on the affected value, and you can use it on "Class" definition. i mean if i set an Int value on any object, the intellicense will change for int object.
so i can use my Any object like int.
any=5 ;
int x = any.Parse("6");



thx,
Mehdi.

Rechercher dans ce blog