The var keyword is NOT a completely new type, instead the compiler just takes a look at the right-hand side of the expression. If the right-hand side is an int, for example, the compiler will "replace" the var keyword with int.
Right, you can still see the full type by hovering the mouse over the var keyword, You can also right click on var to go to definition... so
I don’t think the new keyword will make maintaining code any harder... but ... am still on the fence on whether it’s faster or not.
If you type the left side, intellisense will pick the right, with var it won’t. so either way you have to type one side.
So far this new C# seems pretty nice.
In your sample code, is still needed the cast of (DBObject) ?
You’re correct, I do not need the cast, I was doing the copy/paste stuff