Skip to content

Instantly share code, notes, and snippets.

@gzamudio
Created December 18, 2018 17:15
Show Gist options
  • Save gzamudio/91f92bb8e2c8ab761b030ffbe769c281 to your computer and use it in GitHub Desktop.
Save gzamudio/91f92bb8e2c8ab761b030ffbe769c281 to your computer and use it in GitHub Desktop.
nolinqquery.cs
var keywords = new List<Tuple<int, string>>();
foreach(var obj in response)
{
var tuple = new Tuple<int, string>(Convert.ToInt32(obj), obj.ToString());
keywords.Add(tuple);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment