Advertisement
Guest User

Untitled

a guest
Apr 18th, 2014
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. dynamic expando = new ExpandoObject();
  2. foreach (var s in allProperties)
  3. {
  4. expando.s = string.Empty;
  5. }
  6.  
  7. var expando = new ExpandoObject() as IDictionary<string, Object>;
  8. foreach (var s in allProperties)
  9. {
  10. expando.Add(s, string.Empty);
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement