当使用XmlSerializer(Type type,Type[] extraTypes)构造函数时:
调用Deserialize会使 应用程序域的程序集不断增加。















































































输出:
System assembly count:4
After Deserialize1 count:6
====================================================
mscorlib
ConsoleApplication1
System.Xml
System
System.Configuration
fnti6agi
====================================================
After Deserialize2 count:16
mscorlib
ConsoleApplication1
System.Xml
System
System.Configuration
fnti6agi
ifxcgkts
yxwhgzrw
qvh_acbj
vr_plfcx
gl9akgfi
wsq5_vqc
9gyztvh4
y-29mn35
ltvgbal0
1xkjfbpn
请按任意键继续. . .