i'm trying to getField but is always returning null Here's a image of the code and the watchs of the variables.
Code: FieldInfo xSortField = xFieldInfo.GetValue(x).GetType().GetField(this.prefixedSortBy[i]);
You need to use BindingFlags
GetField("FieldName", BindingFlags.Instance | BindingFlags.Public);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With