Differences between C++ Templates and C# Generics

Hi Community, Yesterday during my presentation at TechEd I was asked by someone in the audience, if C# Generics were similar to C++ templates and I said… “The syntax might be similar but they’re different, and C++ templates have been with us for a long time now, actually… C# has borrowed from some other languages […]

Continue Reading

Carmichael’s numbers generator – C#

Hi community, Please find below a code snippet I wrote last night for generating the Carmichael’s numbers. This demo was written in C# and it implements TPL to take advantage of multiple processors. It is intended to be demoed at Tech-Ed Australia along with its counterpart written in C++ implementing PPL. See you in two […]

Continue Reading