Created
May 7, 2020 20:58
-
-
Save enisn/4837d3506e518b2e079f3777037d5c05 to your computer and use it in GitHub Desktop.
Challenge #2 - Solution - 5
This file contains hidden or 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
var template = "Welcome back {Name}. You're authenticated as {Email}. Have a good day."; | |
var user = new User { Name = "John", Email = "[email protected]" }; | |
var message = template.BindObjectProperties(user) | |
Console.WriteLine(message); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment