Click here to Skip to main content
15,903,385 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Outlooks-tyle Navbar Control Pin
Scott Dorman31-Oct-07 17:11
professionalScott Dorman31-Oct-07 17:11 
JokeRe: Outlooks-tyle Navbar Control Pin
Vasudevan Deepak Kumar1-Nov-07 7:31
Vasudevan Deepak Kumar1-Nov-07 7:31 
GeneralRe: Outlooks-tyle Navbar Control Pin
Scott Dorman1-Nov-07 7:48
professionalScott Dorman1-Nov-07 7:48 
AnswerRe: Outlooks-tyle Navbar Control Pin
Judah Gabriel Himango1-Nov-07 9:01
sponsorJudah Gabriel Himango1-Nov-07 9:01 
Question.NET Framework 3.0 var data type - Aspect Oriented Pin
dataminers31-Oct-07 0:58
dataminers31-Oct-07 0:58 
AnswerRe: .NET Framework 3.0 var data type - Aspect Oriented Pin
Pete O'Hanlon31-Oct-07 2:42
mvePete O'Hanlon31-Oct-07 2:42 
GeneralRe: .NET Framework 3.0 var data type - Aspect Oriented Pin
dataminers31-Oct-07 3:58
dataminers31-Oct-07 3:58 
GeneralRe: .NET Framework 3.0 var data type - Aspect Oriented Pin
Pete O'Hanlon31-Oct-07 4:12
mvePete O'Hanlon31-Oct-07 4:12 
dataminers wrote:
Is it related about MS Aspect Oriented Programming or not?


I've already answered this. No it's not. They created the var type because they needed something to tell the compiler that this was an implicitly typed local variable. All it does is tell the compiler to infer the type of the variable from the declaration, which is why you can do this:
var i = 10;
Console.WriteLine("Type of i is {0)", i.GetType().Name); // i is an int.
and not this:
var i = null;
i = 10;
The second fails because the compiler can't determine the type from null.

Deja View - the feeling that you've seen this post before.

GeneralRe: .NET Framework 3.0 var data type - Aspect Oriented Pin
#realJSOP31-Oct-07 12:21
professional#realJSOP31-Oct-07 12:21 
GeneralRe: .NET Framework 3.0 var data type - Aspect Oriented Pin
Scott Dorman31-Oct-07 17:14
professionalScott Dorman31-Oct-07 17:14 
GeneralRe: .NET Framework 3.0 var data type - Aspect Oriented Pin
Brady Kelly31-Oct-07 22:25
Brady Kelly31-Oct-07 22:25 
QuestionNET 1.1 troubles after different Windows Updates Pin
Koltz30-Oct-07 9:27
Koltz30-Oct-07 9:27 
AnswerRe: NET 1.1 troubles after different Windows Updates Pin
Mike Dimmick31-Oct-07 5:25
Mike Dimmick31-Oct-07 5:25 
GeneralRe: NET 1.1 troubles after different Windows Updates Pin
Koltz31-Oct-07 7:11
Koltz31-Oct-07 7:11 
JokeRe: NET 1.1 troubles after different Windows Updates Pin
Vasudevan Deepak Kumar1-Nov-07 7:33
Vasudevan Deepak Kumar1-Nov-07 7:33 
QuestionInheriting Windows Forms -- child form problem [modified] Pin
Xpnctoc30-Oct-07 8:04
Xpnctoc30-Oct-07 8:04 
NewsWPF Composite Client Announced; Acropolis Update Pin
brucedkyle30-Oct-07 7:20
brucedkyle30-Oct-07 7:20 
QuestionConsole help [modified] Pin
tim63730-Oct-07 6:36
tim63730-Oct-07 6:36 
AnswerRe: Console help Pin
Mike Dimmick30-Oct-07 6:51
Mike Dimmick30-Oct-07 6:51 
GeneralRe: Console help Pin
tim63731-Oct-07 5:04
tim63731-Oct-07 5:04 
AnswerRe: Console help Pin
Pete O'Hanlon30-Oct-07 23:19
mvePete O'Hanlon30-Oct-07 23:19 
GeneralRe: Console help Pin
tim63731-Oct-07 5:03
tim63731-Oct-07 5:03 
QuestionDatabase user ID/password Pin
#realJSOP30-Oct-07 3:51
professional#realJSOP30-Oct-07 3:51 
AnswerRe: Database user ID/password Pin
Ed.Poore30-Oct-07 4:20
Ed.Poore30-Oct-07 4:20 
AnswerRe: Database user ID/password Pin
Pete O'Hanlon30-Oct-07 4:49
mvePete O'Hanlon30-Oct-07 4:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.