Advertisement
Tellexxii

1.3.6.1

Jul 25th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.50 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Collections.Specialized;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Net;
  7. using System.Threading;
  8.  
  9. namespace IMJunior
  10. {
  11.     class Program
  12.     {
  13.  
  14.         static void Main(string[] args)
  15.         {
  16.             int myInt = SomeMul(5);
  17.             int mySecondInt = SomeMul(10) * 15;
  18.         }
  19.         public static int SomeMul(int a)
  20.         {
  21.             int b = 10;
  22.             return a * b;
  23.         }
  24.     }
  25.    
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement