什么工具或方法,我可以用来看到,像匿名方法或准则说明这样的一些法典被编纂成什么? 基本上看看幕后发生的情况?
如何确定幕后发生的事情。 净额
原标题:How to determine what happens behind the scene in .Net
最佳回答
Reflector是这样做的极好方法。
争取观点/选择/优化和选择“None”,以便它能赢得尝试完成最初的C#。
例如,<代码>Main 这种方法很少:
using System;
class Test
{
static void Main()
{
string other = "hello";
Foo (x => new { Before = other + x, After = x + other });
}
static void Foo<T>(Func<int, T> func) {}
}
这与:
private static void Main()
{
<>c__DisplayClass1 class2;
class2 = new <>c__DisplayClass1();
class2.other = "hello";
Foo(new Func<int, <>f__AnonymousType0<string, string>>(class2.<Main>b__0));
return;
}
然后请查阅<代码><>c__DisplayClass1和<>f_AnonymousType0
,以便了解更多细节。
问题回答
如果你想走进去,又走了。 当我们称之为《南极海生委》方法时,我们就有一个框架。
如果你正在使用2008年全球调查数据,你甚至可以减少网上框架源代码。 为此,你需要安装Microsoft source参比服务器在<>。
仅作尝试。
相关问题
热门标签
- winforms
- combobox
- fogbugz
- java
- date
- internationalization
- asp.net
- iis
- url-rewriting
- urlrewriter
- c#
- enums
- ocaml
- haxe
- algorithm
- string
- viewstate
- .net
- c++
- c
- symbol-table
- mysql
- database
- postgresql
- licensing
- migration
- vb.net
- vb6
- declaration
- vb6-migration
- python
- psycopg2
- backup
- vmware
- virtualization
- gnu-screen
- authentication
- desktop
- excel
- xll
- cultureinfo
- regioninfo
- oracle
- client
- session
- download
- html
- virtual
- constructor
- scenarios
- perl
- full-text-search
- javascript
- ajax
- testing
- oop
- inheritance
- vim
- encapsulation
- information-hiding