how to assign 2 variables in the same line in c# code example Example: c# multi assignment int num1,num2; num1 = num2 = 5;