In various articles I see 2 different notations which look very similar and appear to produce the exact same results.
var doc = XDocument.Load("Settings.xml");
XDocument doc = XDocument.Load("Settings.xml");
What is the difference between them, if any? and which is preferred?