c# coding to assign same value to two variable in one line code example Example: c# multi assignment int num1,num2; num1 = num2 = 5;