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.
Share
kiran kumar85
Below is the example console program in C# to store employee details like E.no, E.name, E.salary etc.
{
class program
{
Static void Main ( String [ ]args)
{
int E. No = 111;
string E. Name = “Sid”;
Double E.Salary = 10,000;
Console.WriteLine(“Enot eno”);
Console write Line “Ewame t EName);
Console write Line ( “e Salary & Esalary”);
Consale. ReadLine ();
}