Notes
![]() ![]() Notes - notes.io |
//var obj = new
//{
// firstname = "Vaqif",
// surname = "Aliyev"
//};
//object num = "a";
//num3.
//var num2 ='a';
//int num3 = 5;
//object num4 = 10;
//var num5 = 15;
//num3.TryFormat(new Span<char>(), out int a);
//Program prog = new Program();
//prog.MemberwiseClone();
//object progAbj = prog;
//progAbj.mem
//Person person = new Person();
//Student _student = new Student();
//object babyObj = baby;
//Baby baby = new Baby();
//Person personObj = baby;
//personObj.
//class Person
//{
// public int Id { get; set; }
// public string FirstName { get; set; }
// public string Surname { get; set; }
// public string Gender { get; set; }
//}
//class Student :Person
//{
// public byte Grade { get; set; }
// public bool IsGraduated { get; set; }
//}
//class Baby:Student
//{
// public bool IsOkay { get; set; }
//}
/*public*/ using Variables;
void AnyProcess()
{
int num1 = 6;
string name = "test";
string concat = num1 + name;
Console.WriteLine(concat);
}
//AnyProcess();
/*public*/ int Sum()
{
return 6;
}
//int methodValue = Sum();
//Console.WriteLine(Sum());
///*public*/ string Fullname(string firstname, string lastname)
//{
// //return firstname + " " + lastname;
// return $"{firstname} {lastname}";
//}
//Fullname("Vaqif", "Aliyev");
//double TotalPrice(double[] arr )
//{
// double total = 0.0;
// foreach (double price in arr)
// {
// total += price;
// }
// return total;
//}
//double varable=TotalPrice(new double[] {1,3,4.4,5});
//double total=TotalPrice(new double[] {1,3,42,54.5});
//Console.WriteLine(total);
//double[] arr = { 1, 2, 3, 4, 5 };
//double[] arr2 =new double[5];
//double[] arr3 = new double[] { 1, 2, 3, 4,5 };
//double[] arr4 = new double[5] { 1, 2, 3, 4,5 };
//string[] arr5 = new string[5];
//foreach (var item in arr5)
//{
// Console.WriteLine(item);
//}
//Console.WriteLine("Default");
//string stringDefault = default(string);
//Program pro = default(Program);
//Console.WriteLine(pro == null);
//int SumAny(int num)
//{
// return 5;
//}
//string SumAny(string name)
//{
// return "test";
//}
Employee emp = new Employee();
//Console.WriteLine(emp.SumAny("vaqif",25));
//Console.WriteLine(emp.SumAny(25,"vaqif"));
//Console.WriteLine(emp.SumAny(25,25));
//Console.WriteLine(emp.SumAny(35));
//Console.WriteLine(emp.SumAny("vaqif"));
//Console.WriteLine(emp.Sum(5));
emp.Test("Javid");
emp.DefaultValues();
internal class Employee
{
public int SumAny(int num)
{
return 5;
}
public int SumAny(string name)
{
return 5;
}
public int SumAny(int num1, int num2)
{
return 5;
}
public int SumAny(int num1, string name)
{
return 5;
}
public int SumAny(string name, int num1)
{
return 5;
}
//Return type ne ucun methodoverloading prinsipine daxil deyil ==>
//public string Sum(int num1)
//{
// return num1.ToString();
//}
//public int Sum(int num1)
//{
// return 5;
//}
public void Test(string name = "Vaqif")
{
Console.WriteLine(name);
}
public void DefaultValues(int num, string firstname = "Vaqif", string surname = "Aliyev")
{
}
}
![]() |
Notes is a web-based application for online 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 14 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