Skip to content

Instantly share code, notes, and snippets.

@jfromaniello
Created January 9, 2010 21:43
Show Gist options
  • Save jfromaniello/273122 to your computer and use it in GitHub Desktop.
Save jfromaniello/273122 to your computer and use it in GitHub Desktop.
public string[] GetUserTemplates(int userId)
{
return Enumerable.Range(1, 10)
.Select(i =>
{
string template = string.Empty;
int templateLenght = 0;
driver.GetUserTmpStr(0, userId, i, ref template, ref templateLenght);
return template;
}).ToArray();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment