Less than percent colon – code render blocks in ASP.NET
ASP.NET 4.0 introduces the following code render block syntax:
<%: YourOutput() %>
The search terms “less than percent colon” and “less than percentage colon” did not turn up anything for me in google, but thanks to stackoverflow:
http://stackoverflow.com/questions/2676236/are-and-the-same-thing-as-embbed-code-expression-blocks
<%: is almost the same as <%= except that the output from <%: is automagically html encoded.
Generic List<T> to DataTable using Reflection
The following function takes in a System.Collections.Generic.List<T> and returns a System.Data.DataTable with the properties (via reflection) of T as columns. [ Read more » ]
C# Serialization
Xml Serialization and Binary Serialization to a Base64 string [ Read more » ]