C语言是否属于.NET Framework框架?
Is C Language Part of .NET Framework?
I get where you're coming from—this is a surprisingly confusing question, and I’ve struggled to find a straight answer online too.
I came across a Microsoft documentation page that mentions C++ in the context of .NET Framework, and even includes "C/C++" in its title. But here's the catch: the content dedicated to plain, standard C is practically non-existent.
To clear this up, let's break down the relationship:
- .NET Framework is primarily built around managed languages like C#, VB.NET, and F#—languages that rely on the framework's runtime and memory management.
- There is support for C++ via C++/CLI, a variant that lets you mix managed .NET code with unnative C++ code.
- However, plain C is an unmanaged, system-level language with no native integration into .NET Framework. That documentation’s "C/C++" title is likely referencing the C++/CLI support, not vanilla C itself.
So to wrap it up: No, standard C language is not part of .NET Framework.
内容的提问来源于stack exchange,提问作者E. Epstein
相关产品推荐
相关产品推荐

