7 Replies
result t = num2
is not a valid line of C# code
What is t
?ohhhh i may have added it by mistake
the code runs without any errors
thanks for the help
don't forget to close the thread
he forgot lol
Yep
Also consider just one line
return Math.Max(num1, num2)
. It may be easier to just use the existing max function. @TOLOXI✅ This post has been marked as answered!