SHARE
TWEET

Untitled

a guest Jan 25th, 2020 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace parametrli_metodlar
  8. {
  9.     class Program
  10.     {
  11.         static void Main(string[] args)
  12.         {
  13.             sinif da = new sinif();
  14.             int netice = da.dadas(2, 5);
  15.             Console.WriteLine(netice);
  16.             Console.ReadLine();
  17.         }
  18.     }
  19.     class sinif
  20.     {
  21.         public int dadas (int a,int b)
  22.         {
  23.             int c = a + b;
  24.             Console.Write("Ededlerimiz : {0} ve {1}   Netice : ", a, b);
  25.             return c;
  26.         }
  27.     }
  28. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top