by Rick Miller | 22 Jan 2022 | C#.NET, Programming Languages, Software Architecture, Software Design
In this post I present the two types of polymorphism supported by C#: Static and Dynamic Polymorphism. C#’s language features including inheritance, abstract base classes, interfaces, virtual methods, method overriding, method overloading, operator overloading, and...
by Rick Miller | 29 Jul 2017 | C#.NET, Programming Languages
What Is A Method? A method is a block of code this is accessible by name. All statements executed within a C# program run within the context of a method. Every C# program needs, at the very least, one method named Main(). (The name of the method is “Main” but I...
by Rick Miller | 23 Jul 2017 | C#.NET, Programming Languages
Classes and structures can contain, among other types of members, fields and properties. In this post I’ll focus on field and property members and explain the difference between instance fields/properties and static fields/properties. Before reading further here’s a...
by Rick Miller | 9 Jul 2017 | C#.NET, Programming Languages
Complex applications need more than simple Console.WriteLine() statements sprinkled about the code to record application state for debugging and diagnostics purposes. That’s a job for logging packages. In this post, I’ll explain how to integrate logging into a complex...
by Rick Miller | 8 Jul 2017 | C#.NET, Programming Languages
To create anything other than trivial programs you’ll need to structure and organize your Visual Studio solution in a way that enables separation of concerns. In this post I’ll show you how to create a complex Visual Studio solution consisting of multiple sub-projects...
by Rick Miller | 29 Jun 2017 | C#.NET, Programming Languages
You don’t need Visual Studio for simple C# projects. Everything you need is included when you install the .NET Framework, except a decent text editor. (I highly recommend Notepad++) To get started, you’ll need to install the .NET Framework, if you haven’t already done...