I've just started c# and I was trying to do some basic algorithms, I wanted to know if there's a way to assign two variables at once but different values as in python you can use:
n1, n2 = map(int, input("Input Numbers").split(","))
is there a way to do the same thing in c# by using a function