C# Sharp to find maximum and minimum element in an array using loops and conditional statements code example
Example: finding minimum in c#
int LowestHeight = Math.Min(newPerson.Height, Math.Min(newPerson1.Height, Math.Min(newPerson2.Height, newPerson3.Height)));