convert object to list of objects c#
IList collection = (IList)myObject;
convert object to list of objects c#
IList collection = (IList)myObject;
c# get list of all class fields
// List the properties.
// Use the class you want to study instead of Form1.
PropertyInfo[] property_infos = typeof(Form1).GetProperties(
BindingFlags.FlattenHierarchy |
BindingFlags.Instance |
BindingFlags.NonPublic |
BindingFlags.Public |
BindingFlags.Static);
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us