NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

using System;

namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
/*
if(koşul)
{
Koşul doğruysa yapılacaklar;
}
else
{
Koşul yanlışsa yapılacaklar;
}
*/
/*
Console.WriteLine("Yaş:");
int yas = Convert.ToInt32(Console.ReadLine());


if (yas == 18)
{
Console.WriteLine("Yaşınız 18'dir.");
}
else
{
Console.WriteLine("Yaşınız 18 değildir.");
}

Console.ReadKey();
*/
/*
if(koşul1 && koşul)
{
koşul1 ve koşul2 doğruysa
}
else
{
koşullardan en az birisi veya her ikisi yanlışsa
}

if (koşul1 || koşul)
{
koşul1 ve koşul2 den en az birisi doğruysa veya her ikisi doğruysa
}
else
{
koşulların her ikisi yanlışsa
}
*/
/*
Console.WriteLine("Sayı:");
int sayi = Convert.ToInt32(Console.ReadLine());

if ((sayi % 3 == 0) && (sayi % 5 == 0))
Console.WriteLine("{0} sayısı hem 3 ile hem 5 ile bölünebilir.", sayi);
else
Console.WriteLine("{0} sayısı hem 3 ile hem 5 ile bölünemez.", sayi);
Console.ReadKey();
*/

/*
char cinsiyet;
int yas;
Console.WriteLine("Cinsiyet:E/K");
cinsiyet = Convert.ToChar(Console.ReadLine());
Console.WriteLine("Yaş:");
yas = Convert.ToInt32(Console.ReadLine());

if (((cinsiyet == 'E') || (cinsiyet == 'e')) && (yas >= 20))
{
Console.WriteLine("Askere gidebilir.");
}
else
{
Console.WriteLine("Askere gidemez.");
}

Console.ReadKey();
*/
/*
if (koşul1)
{
koşul1 doğruysa
}
else if (koşul2)
{
koşul1 yanlışsa ve koşul2 doğruysa
}
...
else
{
bütün koşullar yanlışsa
}
*/

/*
int sayi_1, sayi_2;
Console.WriteLine("1. sayı");
sayi_1 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("2. sayı");
sayi_2 = Convert.ToInt32(Console.ReadLine());

if(sayi_1 > sayi_2)
{
Console.WriteLine("{0} sayısı {1} sayısından büyüktür.", sayi_1, sayi_2);
}
else if (sayi_1 < sayi_2)
{
Console.WriteLine("{0} sayısı {1} sayısından küçüktür.", sayi_1, sayi_2);
}
else
{
Console.WriteLine("{0} sayısı {1} sayısına eşittir.", sayi_1, sayi_2);
}

Console.ReadKey();
*/

/*
Console.WriteLine("Puan giriniz: (0-100)");
int puan = Convert.ToInt32(Console.ReadLine());

if (puan >= 0 && puan < 45)
Console.WriteLine("FF");
else if (puan >= 45 && puan < 55)
Console.WriteLine("DD");
else if (puan >= 55 && puan < 60)
Console.WriteLine("DC");
else if (puan >= 60 && puan < 70)
Console.WriteLine("CC");
else if (puan >= 70 && puan < 80)
Console.WriteLine("CB");
else if (puan >= 80 && puan < 85)
Console.WriteLine("BB");
else if (puan >= 85 && puan < 90)
Console.WriteLine("BA");
else if (puan >= 90 && puan <= 100)
Console.WriteLine("AA");
else
{
Console.WriteLine("0-100 arası girin.");
}

Console.ReadKey();
*/

/*
if (koşul1)
{
if (Koşul2)
{
koşul1 ve koşul2 doğru
}
else
{
koşul1 doğru
}
}
else
{
koşul1 yanlış
}
*/


/*
string kullaniciAdi, sifre;
Console.WriteLine("Kullanıcı adı girin:");
kullaniciAdi = Console.ReadLine();

if(kullaniciAdi == "Admin" ||
kullaniciAdi == "admin"||
kullaniciAdi == "ADMİN")
{
Console.WriteLine("Şifre girin: ");
sifre = Console.ReadLine();
if (sifre == "123")
{
Console.WriteLine("Hoşgeldiniz.");

}
else
{
Console.WriteLine("Yanlış şifre.");
}

}

else
{
Console.WriteLine("Yanlış kullanıcı adı.");
}
Console.ReadKey();
*/


/*
switch (ifade)
{
case sabit:
Yapılacaklar;
break;
case sabit2:
Yapılacaklar;
break;
case sabit3:
Yapılacaklar;
break;
case sabit4:
Yapılacaklar;
break;
case sabit5:
Yapılacaklar;
break;
...
default:
Yapılacaklar;
break;
}
*/

/*
Console.WriteLine("Kaçıncı ay? (1-12)");
int ay = Convert.ToInt32(Console.ReadLine());

switch (ay)
{
default:
Console.WriteLine("1-12 arası değer giriniz.");
break;
case 2:
Console.WriteLine("Şubat");
break;
case 3:
Console.WriteLine("Mart");
break;
case 4:
Console.WriteLine("Nisan");
break;
case 6:
Console.WriteLine("Haziran");
break;
case 7:
Console.WriteLine("Temmuz");
break;
case 8:
Console.WriteLine("Ağustos");
break;
case 9:
Console.WriteLine("Eylül");
break;
case 10:
Console.WriteLine("Ekim");
break;
case 11:
Console.WriteLine("Kasım");
break;
case 12:
Console.WriteLine("Aralık");
break;
case 5:
Console.WriteLine("Mayıs");
break;
case 1:
Console.WriteLine("Ocak");
break;

}

Console.ReadKey();
*/

/*
string mevsim;
Console.WriteLine("Mevsim adı girin:");
mevsim = Console.ReadLine();

switch (mevsim)
{
case "ilkbahar": Console.WriteLine("Mart, Nisan, Mayıs"); break;
case "sonbahar": Console.WriteLine("Eylül, Ekim, Kasım"); break;
case "yaz": Console.WriteLine("Haziran, Temmuz, Ağustos"); break;
case "kış": Console.WriteLine("Aralık, Ocak, Şubat"); break;
default: Console.WriteLine("Hatalı girdiniz."); break;
}

Console.ReadKey();
*/



}
}
}
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.