.net 2.0

  • C# and VB Equivalents

    VB: C#: Continue reading

  • IIF in C#

    I always find myself referencing my other projects for this one when I jump between languages, so decided to toss it on the web. Both examples are in the context of ASP .Net, but syntax also applies np to Winforms… Continue reading

  • Serialize and Deserialize classes and objects in .Net

    Serialization is a powerful tool and a major factor in many intermediate development technologies such as webservices. Simply call “SerializeObject” and pass in the class name of your object for the “T” parameters, and your object will be serialized as… Continue reading

  • Bind Control to an Object in Windows Forms

    Simple solution for basic binding in Windows Forms app. This would NOT be recommended if you are using ASP .Net, Silverlight, WCF, RIA or any other services to retrieve the data as these project types have much better support for… Continue reading