get all fields in class c# code example
Example: c# get list of all class fields
using System.Reflection;
FieldInfo[] property_infos = typeof(Player).GetFields();
using System.Reflection;
FieldInfo[] property_infos = typeof(Player).GetFields();