+ 2
can anyone help for the last quiz in c# section??
Fill in the blanks to declare a dictionary to map names and ages and John's, Ann's and Peter's ages. Print John's age. Dictionary< string , int> d = new Dictionary<string, int >(); d .Add("John", 24); d.Add("Ann", 18); d.Add("Peter", 27); string name = "John"; Console.Write(d name );
3 ответов
+ 1
Thank you sir, actually I was thinking that answer would be abc.Keys or something because it had 3 blank spaces in first block and 2 blank spaces in second block. So, it didn't strike my mind that answer can be just brackets . Thank you once again !!
+ 1
string,new,d,[ , ]
0
Can you please tell me along with an example?? I am not able to find it even now!!