Who can help me to resolve the question?
When I defined the Property ‘checked’ in a class,It’s always not passed.
Example:
public class Node
{
public bool checked
{
get;set;
}
}
I do so because of I am using a jquery plugin which the return json object’s property is checked
I will be very grateful if somebody help me
Thank you
If you want to use a reserved word as an identifier (which you should avoid anyway), prefix it with the
@symbol. So your code would be:Unfortunately, this also means you will need to use the
@symbol when referencing the property. It also won’t appear in Visual Studio’s IntelliSense listing.