I'm used to c++ along with an open database (switched from mysql to postgres not too awful long ago.) A new job I'm looking at taking focuses heavily on .net along with SQL Server. As such, I've been looking into the .net framework and what I can't seem to figure out is how to make sure I'm actually using it. I know VB.net is one option, but I loathe VB and would prefer to do my coding in C#, if not C++ (though judging by the interviews, they lean more toward C#). I'm really stuck, though, as to how to actually implement it. Does C# automagically compile via Microsoft Intermediate Language? Does Visual Studio automagically go through Microsoft Intermediate Language regardless of whether I use C++, C# or VB? Do I just have to make sure I #include .net libraries?
Jump to Post
C# and VB.NET are managed languages (and there is a version of managed C++). This means they all compile to an Intermediate Language. At runtime this IL is compiled using a Just-In-Time compiler (just like Java is) and run.
In C# you don't use 'includes', the compiler makes use of …
Jump to Post
No, you need to let the system know you want a managed C++ project. If you are using Visual Studio, you'd use one of the CLR C++ base projects (CLR = Common Language Runtime).
My experience with managed C++ is close to yours. I'm not sure how it handles destructors …
All 3 Replies
We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.