Created
          March 20, 2013 13:36 
        
      - 
      
- 
        Save bjartwolf/5204681 to your computer and use it in GitHub Desktop. 
    Just the simplest ever template
  
        
  
    
      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
    
  
  
    
  | using System; | |
| using Antlr4.StringTemplate; | |
| namespace stringtemplatetest | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) | |
| { | |
| var hello = new Template("Hello, $name$", '$', '$'); | |
| hello.Add("name", "Bjorn Einar"); | |
| Console.Out.WriteLine(hello.Render()); | |
| Console.ReadLine(); | |
| } | |
| } | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment