Managed and unmanaged code in .NET

前端 未结 3 1625
情话喂你
情话喂你 2021-01-21 05:42

What is difference between managed code and unmanaged code in terms of the .NET framework?

3条回答
  •  难免孤独
    2021-01-21 06:03

    Generally it will refer to memory management.

    the unsafe keyword will get you there (unmanaged): http://msdn.microsoft.com/en-us/library/aa288474%28VS.71%29.aspx

    As will calling some external functions (extern keyword).

提交回复
热议问题