example.cs(78,29): error CS0246: Can not find the Type or namespace 'PropertyInfo' est introuvable
wich is the line :
public void SetProperty(PropertyInfo propertyInfo, object value)
Is there something wrong in the example ?
wich is the line :
public void SetProperty(PropertyInfo propertyInfo, object value)
Is there something wrong in the example ?
Hi,
Make sure that you have included the Reflection namespace in your file. Add the following line to the using-part, which is in the top of your file:
using System.Reflection;
That should do it
Make sure that you have included the Reflection namespace in your file. Add the following line to the using-part, which is in the top of your file:
using System.Reflection;
That should do it
