Created
September 20, 2018 09:47
-
-
Save PhiHuyHoang/f9b2bee82059bfb5345719607d029233 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static void Main(string[] args) | |
{ | |
FacebookWall Facebook = new FacebookWall(); | |
Facebook.Add(new Post { status = "status A", timestamp = DateTime.Now }); | |
Facebook.Add(new Post { status = "status B", timestamp = DateTime.Now }); | |
Facebook.Add(new Post { status = "status C", timestamp = DateTime.Now }); | |
foreach(Post p in Facebook) | |
{ | |
Console.WriteLine($"Status: {p.status} - Datetime: {p.timestamp}"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment