Converter for deserializing JSON I'm writing a custom JavaScript converter to deserialize some JSON. Here's a few lines I'm writing:

public override object Deserialize(IDictionary&lt;string, object&gt; dictionary, Type type, 
      JavaScriptSerializer serializer)
  {
    int NoteID;
    NotesModel TheObject = new NotesModel();

    if (dictionary.ContainsKey("NoteID"))
    {
      if (int.TryParse(serializer.ConvertToType&lt;string&gt;(dictionary["NoteID"]), 
          out NoteID))
      {
         TheObject.NoteID = serializer.ConvertToType&lt;int&gt;(dictionary["NoteID"]);
      }
    }


How can this be improved?
you can do  

TheObject.NoteID = NoteID;