Skip to content

Instantly share code, notes, and snippets.

@lgolubyev
Created May 24, 2022 12:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lgolubyev/14dfe6c0d40721da1a15be146d6e6ab5 to your computer and use it in GitHub Desktop.
Save lgolubyev/14dfe6c0d40721da1a15be146d6e6ab5 to your computer and use it in GitHub Desktop.
// let's say you have a static method called GetProducts()
// that returns System.Data.DataTable
var products = GetProducts(ModelTypes.Subscription);
// how is it clear to the reader that I can do this?
return products.Compute("MAX(Price)", String.Empty);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment