Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Created February 2, 2017 22:13
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 dcomartin/6490d4d03e362550111566996855282d to your computer and use it in GitHub Desktop.
Save dcomartin/6490d4d03e362550111566996855282d to your computer and use it in GitHub Desktop.
var subscriberCode = (from x in subscribers
where x.Number.ToUpperInvariant() == number.ToUpperInvariant()
select x.SubscriberCode).PrimitiveSingleOrMaybe(i => i > 0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment