Skip to content

Instantly share code, notes, and snippets.

@egurbuz
Created December 12, 2010 20:51
Show Gist options
  • Save egurbuz/738315 to your computer and use it in GitHub Desktop.
Save egurbuz/738315 to your computer and use it in GitHub Desktop.
Nesne Yönelimli Tasarım - Örnek Kodlar
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace cs_giris
{
class Matematik
{
public int Topla(int a, int b)
{
return a + b;
}
}
class Program
{
static void Main(string[] args)
{
int toplam = Matematik.Topla(9, 19);
Console.WriteLine(toplam);
Console.ReadLine();
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace cs_giris
{
class Matematik
{
public static int Topla(int a, int b)
{
return a + b;
}
}
class Program
{
static void Main(string[] args)
{
int toplam = Matematik.Topla(9, 19);
Console.WriteLine(toplam);
Console.ReadLine();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment