Here s is a string value s ,which is containng null.So Can anyone tell what is difference between Statement 1 & Statement 2
string s;
s=" ";
Console.WriteLine(s.ToString());
Console.WriteLine(Convert.ToString(s));
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rajeesh MenothPosted Mar 1, 2018, 5:59 AM
Cynthia SathuragiriPosted Mar 1, 2018, 3:07 AM
Mukesh NayakPosted Mar 1, 2018, 3:04 AM