Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Program
- {
- static void Main(string[] args)
- {
- int number = 2;
- Console.WriteLine(number); // 2
- Doule(number);
- }
- // Double - удвоить
- public static void Doule(int number)
- {
- int doubleNumber = number * 2;
- Console.WriteLine(doubleNumber); // 4
- }
- }
Add Comment
Please, Sign In to add comment