hello friends, I am having trouble converting a few simple pieces of code from python to C#, if someone could please help me it would be very much appreciated, thanks
here is the code in python below
What I have tried:
nums = [1,3,6,9,8,2,9,3]
n = len(nums)
for i in range(n):