Skip to content

Instantly share code, notes, and snippets.

@codingfreak
Created December 1, 2011 11:29
Show Gist options
  • Select an option

  • Save codingfreak/1416021 to your computer and use it in GitHub Desktop.

Select an option

Save codingfreak/1416021 to your computer and use it in GitHub Desktop.
My code generating only numbers
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fare;
namespace DbFillerConsole
{
class Program
{
static void Main(string[] args)
{
var pattern = @"[a-z0-9]{3}";
var conv = new Xeger(pattern);
Console.WriteLine(conv.Generate());
// result will something like 123, 324 or 938 without letters
Console.ReadKey();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment