Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 29th, 2012  |  syntax: None  |  size: 0.19 KB  |  hits: 19  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Trying to hide base class member during serialization with Json.NET
  2. class Model
  3. {
  4.     List<ListItem> Items {get;set;}
  5. }
  6.  
  7. class Model<T> : Model
  8. {
  9.     new List<ListItem<T>> Items {get;set;}
  10. }