Articles from January 2013



C# – Call methods by String names – a simple .net script parser

.Net library System.Reflection allows you to call any methods by its name as string. You can apply this method when you want to parse texts from a script file, such as GiveMeValue(100). “GiveMeValue(100)” is a string, and you want to call a real GiveMeValue(int input) method inside your code. With the help of System.Reflection, you […]