Game Development Reference
In-Depth Information
foreach (string key in tokenizer.Parameters.Keys)
{
Console.WriteLine(String.Format(“Name: {0}\tValue: {1}”,
key,
tokenizer[key]));
}
}
}
}
}
Conclusion
This chapter discussed common formatting styles of command line arguments,
and went on to building a tokenizer using .NET regular expressions. Command
line utilities are extremely popular among tools developers, so having a flexible
and reusable tokenizer is very important. Having one means that even less time
can be spent on developing these tools, which are fast to develop as it is.
Search Nedrilad ::




Custom Search