Posted by: Ayus May 2, 2011
IT -- Solutions Center[Forum]
Login in to Rate this Post:     0       ?        
 @nepali8

if your method type is void it doesnt return you anything. May be compiler is expecting int and you are calling void. Its a complete data type mismatch. 

call getEmployees() function. This function is returning int.

Your getEmployees() function has code to get user input, why are you calling void Employee().

-- i am not C# programmer, but it just might help.---
Read Full Discussion Thread for this article