Hello Experts :)

My Name is GaYan and im still learning C# :D lol.. im a newbie :idea:

what i need to do is to create a program in C# to enter a number series and to get the the highest(largest) value and minimum(smallest) value of the entered numher series ended by a negative number !

This must use a while loop too :scared:

i have the idea about the algorithm ! hope this is correct :D :D

thier must be 3 text boxes, one is to input the numbers and other one is to display the highest and smallest numbers entered in the number series after we finish the process by making the while condition false ( by entering a negative value)

```
Input N
Max = N
Min = N
while N > 0
If N > Max
Max = N
Else if
N < Max
Min = N
End If
Print "Highest value of the entered num series =" Max;
Print "smallest value of the entered num series =" Min;
```

So Dear Experts. Please help me to overcome this doubt over C# ! any coding explanation is greatly appreciated :icon_wink:

Thanks In Advance !