Kirk Evans Blog

.NET From a Markup Perspective

Great C++/CLI Tutorial

I firmly believe that every developer ought to be at least familiar with C++, preferably have relevant experience using C++. Sadly, the advent of C# has caused my C++ skills to severely atrophy.

Maybe atrophy is an understatement. As an example, I decided to do a webcast to really show off Visual Studio’s support for C++. I opened the editor, created a new CLR Console Application, and stared at the IDE like I had never seen Visual Studio before.


#include “stdafx.h”


using namespace System;


int main(array<System::String ^> ^args)


    Console::WriteLine(L“Hello World”);

    return 0;



OK, so I have some a LOT of refresher material that I need to walk through before attempting a webcast, because obviously I haven’t worked with C++/CLI at all yet to understand the differences between managed C++ and C++/CLI.

Luckily, there is a really nice C++/CLI course available online for free at I have no affiliation with FunctionX, no endorsement deal… I just was able to learn a whole bunch of C++/CLI syntax in a very short period of time because their tutorials are really well done.