How to convert objects in reflection
问题 I have this piece of code which is working fine, My question is if i want to add another element to the xml named 'Allow'. the Allow Element can get the values of 'True' or 'False'. I want to convert it to a boolean property in my Plugin class, meaning the Plugin will have the additional property: public bool Allow { get; set; } is there a possibility to convert it? can you give a code example? using System; using System.Collections.Generic; using System.Linq; using System.IO; using System