Hi Guys,
I'm creating a JSON file and for that I'm using the below properties to Serialize a JSON object, the problem is that can't define a property as "ref" because its a key word in asp.net, is there a way to go around that?
public class Authority
{
public string ref { get; set; }
public string name { get; set; }
}
and my objective is to be able to set the property value:
Mycalss.Authority.ref ="my value"
because in my project they looking to create a JSON file that have an attribute called exactly "ref"
Thanks
Go to the complete details ...