NedyalkoKikov

DictinaryDateTime

May 16th, 2016
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace DictinaryDateTime
  8. {
  9. class DictinaryDateTime
  10. {
  11. static void Main()
  12. {
  13. Dictionary<DateTime, string> BirthDate = new Dictionary<DateTime, string>();
  14. BirthDate[new DateTime(1988, 04, 17)] = "Nakov";
  15. BirthDate[new DateTime(1992, 02, 16)] = "Dancho";
  16. foreach(var date in BirthDate)
  17. {
  18. Console.WriteLine(date);
  19. }
  20.  
  21. }
  22. }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment