Posted tagged ‘.NET’

Starting Any Method in a New Thread Using .NET

April 2, 2010

The main problem I encountered was creating a function to accept any function pointer along with an unknown number of arguments.  I got around this problem using the ThreadStart and delegate() features in C# (.NET 3.5).  First off create your method to take any method as so: Now anywhere in your code where you need [...]


Follow

Get every new post delivered to your Inbox.