Check out example codes for "c# get list of all class fields". It will help you in understanding the concepts better.
Code Example 1
// 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);
Code Example 2
using System.Reflection;
FieldInfo[] property_infos = typeof(Player).GetFields();
Learn ReactJs, React Native from akashmittal.com