public string[] GetFieldNames() { var fs = TypeForSystem.GetFields(); string[] names = new string[fs.Length]; for (int i = 0; i < fs.Length; i++) { names[i] = fs[i].Name; } return names; }