Unutulan Değil iz bırakan OL!
Süper Üye
arkadaşlar değişkenleri bu şekilde tanımlıyoruz.
Kod:
</code>
<code>using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Console.Title = "http://memoryhackers.org/";
// C#'ta sayısal değişkenler "int" sözel değişkenler "string" ile tanımlanır.
int a;
// birden çok değişken tanımlamak istediğimizde
int b, c;
//değişken tanımlarken değer aktarmak için
int d = 20;</code>
<code> string b;</code>
<code> string c="ali";
//gibi ifadeler kullanırız.
}
}
}