c# declare multiple variables with same value code example Example: c# multi assignment int num1,num2; num1 = num2 = 5;