Get the highest value of property in Class : <p>I'm trying to get the highest number of all propreties in my class: </p>

<pre><code>public class aClass{ 

        public int PropA{ get; set; } = 1;
        public int PropB{ get; set; } = 18;
        public int PropC{ get; set; } = 25; 
}  
</code></pre>

<p>Here's my code: </p>

<pre><code>public int GetMaxConfiguratableColumns()
        {
            int _HighestNumber = 0;
            PropertyInfo[] _Info = this.GetType().GetProperties(); 
            foreach(PropertyInfo _PropretyInfo in _Info)
            {
                //I'm lost here!!!!!!!
            }
            return _HighestNumber;
        }
</code></pre>

<p>Any suggestions? Thanks!</p>
