Guest User

Untitled

a guest
Jan 16th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. Type t = Type.GetType("clsCountrySelectInsertUpdate_TEST");
  2. dynamic dd = Activator.CreateInstance(t, null);
  3. dd.intMode = 203;
  4. ThreadPool.QueueUserWorkItem(new WaitCallback(dd.CountrySelectInsertUpdate));
  5.  
  6. ThreadPool.QueueUserWorkItem(new WaitCallback(dd.CountrySelectInsertUpdate()),null);
  7.  
  8. ThreadPool.QueueUserWorkItem(new WaitCallback(state => dd.CountrySelectInsertUpdate()), null);
  9.  
  10. Task.Factory.StartNew( () => dd.CountrySelectInsertUpdate());
Add Comment
Please, Sign In to add comment