from 0 to C

Created by Ubi de Feo, “from 0 to C” is a new series of workshops that aim at teaching programming using a more creative and human approach.

Through the use of tangible, hand-made objects, we try to establish a clear understanding of  how a computer works and what a programming language actually is: nothing but an abstraction of what we can do as humans.

Via means of playing with objects we explain the simple mathematics behind a computer way of working and the concepts at the core of every programming languages.

Find out more on

C# Parallel Computing: Parallel.For-loop

The C# For-loop in Parallel computing looks easy. Something I will need to keep in mind when doing calculations. ;)

Here is an example in .NET 4.0:

using System;
using System.Threading.Tasks;

namespace ConsoleApplication1
 class Program
  static void Main(string[] args)
   Parallel.For(0, 2500,
     delegate(int i)
      // Do some work here

More information about Parallel computing in C#:

Have fun!