Write a Consile Program arrays | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Write a Consile Program arrays

To accept 5 employee numbers store into one array and accept 5 employee names store into another array and search employee name based on employee number

28th Jul 2019, 6:23 AM
pantrangam kartheek
2 Answers
+ 1
Dictionary<int, string> employees = new Dictionary<int, string>();
23rd Oct 2020, 10:12 PM
Gizmo-Lang
Gizmo-Lang - avatar
0
what you want is a dictionary
23rd Oct 2020, 10:10 PM
Gizmo-Lang
Gizmo-Lang - avatar