What programing language is this?

programming-languages

Solution

This is C++/CLI, in other words the C++ variant that runs on top of the .Net CLR.

On no account should this be confused with native C++.

Problem

Someone know what kind of language used below: ``` String^ fileName = "C:\\Test1.txt"; array<Byte>^ Array = gcnew array<Byte>(512); try { FileStream^ fs = File::OpenRead(fileName); fs->Read(Array, 0, 512);fs->Close(); } catch (...) { MessageBox::Show("Disk error"); Application::Exit(); } ``` and another example of that language: ``` int RotateLeft3 (int number) { if ( ( number & 0x20000000 ) == 0x20000000 ) { number <<= 3;number |= 1; } else number <<= 3; return number; } ```

Original source