I am trying to get the fields of the current class. I make the class implement the ICloneable Interface.
Inside the clone() the following line doesn’t seem to find any fields. Why though?
foreach (FieldInfo fi in this.GetType().GetFields())
{
}
Many Thanks,
Use
BindingFlagsas: