Click here to Skip to main content
15,890,282 members
Home / Discussions / C#
   

C#

 
GeneralRe: Windows Forms Context Menu Spacer Pin
Jammer26-Nov-09 10:50
Jammer26-Nov-09 10:50 
QuestionMultithreading C# Pin
J imran26-Nov-09 6:09
J imran26-Nov-09 6:09 
AnswerRe: Multithreading C# Pin
Ravi Bhavnani26-Nov-09 6:28
professionalRavi Bhavnani26-Nov-09 6:28 
AnswerRe: Multithreading C# PinPopular
Abhijit Jana26-Nov-09 6:54
professionalAbhijit Jana26-Nov-09 6:54 
Questionhi Pin
bassam eshteba26-Nov-09 6:04
bassam eshteba26-Nov-09 6:04 
AnswerRe: hi Pin
Abhijit Jana26-Nov-09 6:07
professionalAbhijit Jana26-Nov-09 6:07 
AnswerRe: hi Pin
Richard MacCutchan26-Nov-09 6:52
mveRichard MacCutchan26-Nov-09 6:52 
Questionconsole in C# Pin
bassam eshteba26-Nov-09 5:30
bassam eshteba26-Nov-09 5:30 
im trying to improve this code by adding some features such as, save the list of Employee
and edit it and Read it, anyone can offer help. thanks in advance.





namespace ConsoleApplication1
{
class Program
{
static List<Employee> myEmployee;
struct Employee
{
public int EmployeeID;
public string FirstName;
public string Surname;
public DateTime DOB;
public int salary;

}
static void createMenu()
{
Console.Clear();
Console.WriteLine("=================================");
Console.WriteLine("* *");
Console.WriteLine("* Employee Management Solution *");
Console.WriteLine("* *");
Console.WriteLine("* 1. Add Employee *");
Console.WriteLine("* 2. List Employee *");
Console.WriteLine("* X. Exit *");
Console.WriteLine("* *");
Console.WriteLine("=================================");
}
static void Main(string[] args)
{
string strUserSelect;

do
{
createMenu();
strUserSelect = Console.ReadLine();
if (strUserSelect == "1")
{
addEmployee();
}
else if (strUserSelect == "2")
{
ListEmployees();
}
} while (strUserSelect.ToUpper() != "X");

}

private static void addEmployee()
{
Console.WriteLine();
Console.WriteLine(" this will add an Employee");
Console.ReadLine();
}
static void ListEmployees()
{
Console.WriteLine();
Console.WriteLine(" this will List an Employee");
Console.ReadLine();
}


}
}
AnswerRe: console in C# Pin
Saksida Bojan26-Nov-09 5:36
Saksida Bojan26-Nov-09 5:36 
QuestionQuick question about UAC Pin
SimpleData26-Nov-09 5:21
SimpleData26-Nov-09 5:21 
AnswerRe: Quick question about UAC Pin
Saksida Bojan26-Nov-09 5:24
Saksida Bojan26-Nov-09 5:24 
GeneralRe: Quick question about UAC Pin
SimpleData26-Nov-09 5:26
SimpleData26-Nov-09 5:26 
GeneralRe: Quick question about UAC Pin
Saksida Bojan26-Nov-09 5:34
Saksida Bojan26-Nov-09 5:34 
AnswerRe: Quick question about UAC Pin
Tony Richards26-Nov-09 5:43
Tony Richards26-Nov-09 5:43 
GeneralRe: Quick question about UAC Pin
SimpleData26-Nov-09 5:45
SimpleData26-Nov-09 5:45 
GeneralRe: Quick question about UAC Pin
Tony Richards26-Nov-09 6:00
Tony Richards26-Nov-09 6:00 
GeneralRe: Quick question about UAC Pin
SimpleData26-Nov-09 6:03
SimpleData26-Nov-09 6:03 
GeneralRe: Quick question about UAC Pin
Tony Richards26-Nov-09 6:28
Tony Richards26-Nov-09 6:28 
GeneralConversion of string to Decimal Pin
manowj26-Nov-09 5:06
manowj26-Nov-09 5:06 
GeneralRe: Conversion of string to Decimal Pin
dan!sh 26-Nov-09 5:16
professional dan!sh 26-Nov-09 5:16 
GeneralRe: Conversion of string to Decimal Pin
manowj26-Nov-09 17:28
manowj26-Nov-09 17:28 
GeneralRe: Conversion of string to Decimal Pin
dan!sh 26-Nov-09 17:45
professional dan!sh 26-Nov-09 17:45 
GeneralRe: Conversion of string to Decimal Pin
PIEBALDconsult27-Nov-09 3:34
mvePIEBALDconsult27-Nov-09 3:34 
GeneralRe: Conversion of string to Decimal Pin
Saksida Bojan26-Nov-09 5:23
Saksida Bojan26-Nov-09 5:23 
GeneralRe: Conversion of string to Decimal Pin
PIEBALDconsult26-Nov-09 5:34
mvePIEBALDconsult26-Nov-09 5:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.