http://www.zedilabs.com/aspnet/fonternet/font.html

http://www.zedilabs.com/aspnet/fonternet/font.html
Toshiba Tecra M5 (dual 2Ghz processor, 2Gb memory) an object of type List<object[]> containing 296 “rows” and 18 “columns” with elements of different data types (strings, integers, dates, etc.) takes approximately 14 ms per iteration for binary serialization & de-serialization and 31 ms per iteration for xml serialization & de-serialization.
Summary: My tests show that, on [...]
public static string ToXml<T>(T source){ string result = null;
using (System.IO.StringWriter sw = new System.IO.StringWriter()) { using (System.Xml.XmlWriter writer = System.Xml.XmlTextWriter.Create(sw, null)) { System.Xml.Serialization.XmlSerializer serializer = new System.Xml.Serialization.XmlSerializer(typeof(T)); serializer.Serialize(writer, source); }
result = sw.ToString(); }
return result; }
public static T FromXml<T>(string xml){ T result = default(T);
if (string.IsNullOrEmpty(xml) == false) { using (System.IO.StringReader sr = [...]
You can generate modules as output as shown following
csc /target:module firstmodule.cs
this will create “firstmodule.netmodule”
Note: creating modules are not supported in Visual studio environment.
Or
csc first.cs /out:secondmodule.netmodule /target:module secondmodule.cs
This will compile first.cs and create output file first.exe, as well as build secondmodule.cs and create module output file secondmodule.netmodule:
So like this, you can generate different modules for different [...]
csc /addmodule:firstmodule.netmodule;secondmodule.netmodule /out:main.exe main.cs
This will compile source file main.cs and add metadata from firstmodule.netmodule and secondmodule.netmodule to produce main.exe