Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace DictinaryDateTime
- {
- class DictinaryDateTime
- {
- static void Main()
- {
- Dictionary<DateTime, string> BirthDate = new Dictionary<DateTime, string>();
- BirthDate[new DateTime(1988, 04, 17)] = "Nakov";
- BirthDate[new DateTime(1992, 02, 16)] = "Dancho";
- foreach(var date in BirthDate)
- {
- Console.WriteLine(date);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment