How to write a program in c sharp console to store employee numbers. The mandatory field should be Employee name, employee salary = 1000 x 3. And the variables are E.no, E name, E salary. Print these 3 values with the help of user defined strings.
Write a console program to store employee number in C#
Below is the example console program in C# to store employee details like E.no, E.name, E.salary etc.
Static void Main ( String [ ]args)
int E. No = 111;
string E. Name = “Sid”;
Double E.Salary = 10,000;
Console write Line “Ewame t EName);
Console write Line ( “e Salary & Esalary”);
Consale. ReadLine ();