Skip to content

Instantly share code, notes, and snippets.

@gistlyn
Last active November 10, 2020 13:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save gistlyn/101d0fdb4c5fc59fe7d86825c9b43652 to your computer and use it in GitHub Desktop.
Save gistlyn/101d0fdb4c5fc59fe7d86825c9b43652 to your computer and use it in GitHub Desktop.
Hello NuGet!
using ServiceStack;
using ServiceStack.Text;
var name = "NuGet";
class Greeting
{
public string Message { get; set; }
}
var greeting = new Greeting { Message = $"Hello, {name}!" };
greeting.PrintDump(); //Pretty Print objects to Console
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="System.Memory" version="4.5.4" targetFramework="net45" />
<package id="ServiceStack.Text" version="5.10.0" targetFramework="net45" />
</packages>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment