c# coding to assgin values to two different variable in c# code example Example: how to declare variables in c# public int yourNumber = 5;