patege

compareorwhatdafok

Jan 13th, 2021
635
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class allreadyAssigned
  2. {
  3.     public int id { get; set; }
  4.     public string externalXref { get; set; }
  5. }
  6. public class ownerIdfinder
  7. {
  8.     public string id { get; set; }
  9.     public string externalXref { get; set; }
  10. }
  11.  
  12. JavaScriptSerializer js = new JavaScriptSerializer();
  13. ids = js.Deserialize<ownerIdfinder[]>(streamReader.ReadToEnd());
  14.  
  15. JavaScriptSerializer allreadyjs = new JavaScriptSerializer();
  16. allreadyIds = allreadyjs.Deserialize<allreadyAssigned[]>(allreadystreamReader.ReadToEnd());
RAW Paste Data