.net program execute
od调试console app dbg.exe , c sharp 怎么运行的 12/18/2018
用vs 本地调试c sharp在clr中运行 , 怎么运行的
static void Main(string[] args)
{
Console.WriteLine(".net framewrok");
//var i = Console.ReadLine();
while (true)
{
Thread.Sleep(1000);
}
Console.ReadLine();
}


Ngen install dbg.exe

#include <iostream>
#include<Windows.h>
int main()
{
std::cout << "Hello World!\n";
while (true)
{
Sleep(1000);
}
return 0;
}

本文探讨了如何使用Visual Studio进行C#程序的本地调试,包括CLR中的运行过程。通过具体的代码示例,展示了静态方法Main的使用,以及无限循环和线程睡眠的实现方式。同时,提到了Ngen安装和C++程序的调试。
8086

被折叠的 条评论
为什么被折叠?



