Help me settle an argument here.
Is this:
SqlCommand cmd = new SqlCommand( "sql cmd", conn);
treated exactly the same as this:
const string s = "sql cmd";
SqlCommand cmd = new SqlCommand( s, conn);
Ie. does it make a difference if I state specifically that the string s is a const.
And, if it is not treated in the same way, why not?