I am pulling varchar values out of a DB and want to set the string I am assigning them to as \"\" if they are null. I\'m currently doi
varchar
string
null
I use extention method SelfChk
static class MyExt { //Self Check public static void SC(this string you,ref string me) { me = me ?? you; } }
Then use like
string a = null; "A".SC(ref a);