forum

Home / DeveloperSection / Forums / Setting a variable name as a type

Setting a variable name as a type

Anonymous User 1781 23-Dec-2013

I am deserializing a json object from a third party API. One of the Objects properties is a variable called "checked". In c#.net 'checked' is a type. Is there anyway to overcome this.

Im using Newtonsoft Json.net to do the deserializing.

Nothing special about the class,

public class item{

  public bool checked;

}


c# c# 
Updated on 23-Dec-2013
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By