Question: Consider the Employee class given in the following image. Write C# program to create a C# dictionary and add Employee class objects in the dictionary.
Consider the Employee class given in the following image. Write C# program to create a C# dictionary and add Employee class objects in the dictionary. Also write code to loop through dictionary items and print Employee details in the console.

Employee.cs - x DemoMVC.Models.Employee using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace DemoMVC. Models { public class Employee { public int EmployeeID { get; set; } public string Name { get; set; } public Int64 MobileNo { get; set; } public string Address { get; set; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
