Fields vs. Properties in C#

Benjamin Perkins C#

There is a very significant difference between a field and property within a class. The difference is in the behaviour of the field when defined as either a static or instance. Basically, if you create 2 instances of class which has a static field, when you change the value of that field, the values in […]

Read More →

String vs. StringBuilder

Benjamin Perkins C#

A blog would not be complete without an article about the differences between appending or modifying a string using the String Class versus the StingBuilder class. See, strings are immutable, which means once they are created they cannot be changed. Any time you make a modification to a string, after is has been created you […]

Read More →

Add an XML Schema file to Visual Studio

Benjamin Perkins C#

XML Schema files (.xsd) are files which provide data for IntelliSense and are often provided along with a 3rd party class library. In case you are not familiar with IntelliSense, it is a functionality that helps you develop or configure a system by providing a list of existing methods or properties which are asscoiated to […]

Read More →