I'm trying to get the highest number of all propreties in my class:
public class aClass{ 
        public int PropA{ get; set; } = 1;
        public int PropB{ get; set; } = 18;
        public int PropC{ get; set; } = 25; 
}  
Here's my code:
public int GetMaxConfiguratableColumns()
        {
            int _HighestNumber = 0;
            PropertyInfo[] _Info = this.GetType().GetProperties(); 
            foreach(PropertyInfo _PropretyInfo in _Info)
            {
                //I'm lost here!!!!!!!
            }
            return _HighestNumber;
        }
Any suggestions? Thanks!
 
     
     
    