Or in the new framework 4.0 use parallel tasks?
private void MethodStarter()
{
Task myFirstTask = Task.Factory.StartNew(Method1);
Task mySecondTask = Task.Factory.StartNew(Method1);
}
private void Method1()
{
}
private void Method2()
{
}
Sascha Barber wrote
this[
^] excellent article about Parallel Tasks.
I'm developing software for over two decades. I'm working as a cloud solution architect and a team lead at 4DotNet in The Netherlands.
In my current position, I love to help customers with their journey to the cloud. I like to create highly performant software and to help team members to a higher level of software development.
My focus is on the Microsoft development stack, mainly C# and the Microsoft Azure Cloud. I also have a strong affinity with Angular. As a result of my contributions to the community, I received the Microsoft MVP Award for Microsoft Azure.