V
vicmann
1. When and why a string defined with or without "@" in front of it?
string sSample = "xxxx";
string sSample = @"xxxx";
2. Any difference between the following two?
string sSample = "";
string sSample = string.Empty;
3. Given an Interface IMyInterf and it derived class MyCls.
IMyInterf MyObj = null;
MyObj = new MyCls();
....
Can someone show an example code of passing this MyObj to a function by
reference?
Thanks for your help!
string sSample = "xxxx";
string sSample = @"xxxx";
2. Any difference between the following two?
string sSample = "";
string sSample = string.Empty;
3. Given an Interface IMyInterf and it derived class MyCls.
IMyInterf MyObj = null;
MyObj = new MyCls();
....
Can someone show an example code of passing this MyObj to a function by
reference?
Thanks for your help!