Creating a type-safe list by using a generic collection in C#
Safe types are the key to creating code which is easy to maintain. The language and the framework find most of the bugs during compilation (and not run-time after the product has been delivered). In...
View ArticleUsing namespaces in C++
Namespaces can be considered as abstract containers that hold different entities – functions, variables, classes and objects. Since C++ provides a single global namespace, without the use of user...
View ArticleHow to write equals method in Java
When I started Java i heard that Java is truly object oriented language and everything in JAVA is object, later I found that though its not completely true but yes most of things are in Java is...
View ArticleLearn the Basics of Floating in CSS
The float declaration is used to put elements beside one another such as several div’s. A common technique is for, say a blog, you have your content, and you have your sidebar on the right. Each one of...
View ArticleFunction overloading by return type in C++
Commercial modern day languages often get criticized because they don’t support function overloading by return type. That is to say, functions cannot be distinguished by return type. For example: int...
View Article