News

Learn how you can use value objects in C# to improve the clarity, structure, and maintainability of your code.
Test projects give you a way to exercise your code to see if it works but they're also part of your project's 'permanent record.' If all you want to do is try something out with some throwaway code, C ...
Understand the differences between a singleton class and a static class and when to use which in your applications.
So I'm whipping up something quick and dirty for a work project. I've got a C# class that is all string types, nothing fancy, and once the item is created it gets serialized with the new System ...
If a C# class exposes properties and methods dynamically, such as when the information isn't available at compile time, it derives from DynamicObject and overrides TryGetMember and TryInvoke (or ...
Do you have a single class in your Java design that does too much and knows too much? If so, you've fallen into the God object antipattern. Here's a look at how to refactor your God object and ...
As object-oriented-languages, both C# and Java will describe objects through classes. This is a modular approach to programming, that allows snippets of code to be used over and over.