Quick Tip – Sharing code between multiple projects in Visual Studio 2005

I have long been an advocate for putting common code into an assembly that is shared by applications needing the functionality.  That said, there are times where the separate assembly approach is not appropriate.  For those situations, today’s tip may help make code sharing easier.I have a project (called TestApp) that targets the .NET Compact…

3

What is late binding?

In a nutshell, late binding is run-time resolution / dynamic loading.  Compile time resolution (sometimes called ‘early binding’), uses the compiler and linker to verify that the argument types used to call a function matches the function’s signature.  In my mind, early binding allows me to check my grammar (how I am calling functions) before…

1

Quick Tip: Specifying a field’s name when using the XmlSerializer

Last month, I wrote about how to instruct the XmlSerializer to create an XML attribute for fields in an object.  Today, I’d like to talk about how to specify the name used to represent a field in the resulting XML.By default, when an object is serialized, fields are serialized into nodes with names that match…

1