P
Phill
[How come you can do this]:
string.Format("MyString {0}", var);
[But you can't do this]:
String str = "MyString {0}";
str.Format(var);
In otherwords why is Format a method of the string class but it can't
be used on an instance of the string class?
string.Format("MyString {0}", var);
[But you can't do this]:
String str = "MyString {0}";
str.Format(var);
In otherwords why is Format a method of the string class but it can't
be used on an instance of the string class?