| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Dynamic creating Anonymous (similar) Types at program runtime.
using DynamicAnonymousType;
Type type = DynamicFactory.CreateType(
("Id", typeof(int)),
("Name", typeof(string)),
("Date", typeof(DateTime?)));
dynamic instance = type.CreateInstance(
("Id", 1),
("Name", "Text1"),
("Date", DateTime.Now));| Back | FazBrowse Home | New Git URL |