c# convert object to string
Object obj=new Object();
obj="hi";
string str1=Convert.ToString(obj);
string str2=obj.ToString();
string str3= obj as string;
string str4=(string)obj;
c# convert object to string
Object obj=new Object();
obj="hi";
string str1=Convert.ToString(obj);
string str2=obj.ToString();
string str3= obj as string;
string str4=(string)obj;
c# object to json string
Newtonsoft.Json.JsonConvert.SerializeObject(new {foo = "bar"})
c# convert ad objectguid to string
new Guid((System.Byte[])this.GUID).ToString()
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us