Please note that this is an “Intermediate” article; it therefore assumes you have read all previous “Beginner” articles, and you know how to create an instance of a class. Introduction Generics allow a type or method to operate on objects of varying types, while providing compile-time type safety. They can be used to achieve parametric Read More →

Share

Note: This article assumes that you have read all previous “Beginner” articles, and you know how to create an instance of a class. Introduction Operator Overloading is a feature of C# that acts as syntactic sugar in the code, and eases the use of libraries in your programs. Because this feature is not present in Read More →

Share

Introduction Officially, Java and C# do not support true multiple inheritance (or “MI”). In other words, classes belong to a single-rooted object, and can inherit from only one parent class. Keep in mind that interfaces can still be inherited multiple times by a class. The reason Java and C# give for not supporting MI is Read More →

Share

Please note that this article assumes you have read my previous tutorials on classes, and you know how to create an instance of a class. Introduction In my previous article, I mentioned that methods (functions defined in a given class) marked as public are the only methods visible to the entire program. On the other Read More →

Share