Abstract Classes and Pure Virtual Functions
In this article we will be discussing abstract classes, and how they are implemented in C#. The first part of the article will define abstract classes and describe how to use them as tools for Object Oriented Design (OOD). Simply stated, an abstract class is a class which does not fully represent an object. Instead, it represents a broad…
Stop multiple login by single user in .NET
It is common feature that a user can use his/her credentials to login in multiple browser and multiple devices simultaneously. But in many cases business owners wants to restrict them. I have implemented the same in one of my site which is running on .NET framework 1.1 First create a field in database to store…
Use of InternalsVisibleToAttribute
Suppose we have a C# project and a test project with unit tests for the main project. We want to have testable internal methods and test them without a magical Accessor object that we can have with Visual Studio test projects. Usually developers are doing this by creating key files for signing the assemblies and then…
Collections in Microsoft .NET
Collection in .NET is a group of records treated as one logical unit. The .NET Framework provides specialized classes for data storage and retrieval. These classes provide support for stacks, queues, lists, and hash tables. Most collection classes implement the same interfaces, and these interfaces may be inherited to create new collection classes that fit…
Microsoft Visual Studio 2015
On July 20, 2015 Microsoft has released Visual Studio 2015 – new version. There are lots of changes in this edition and we can say that now it can be used by any developer for any language. Over the last few years, the Visual Studio family has expanded to be broader than ever before. And…