Skip to main content

Posts

Abstract Class vs Interface in C#

  Difference between Abstract Class and Interface in C#   An  abstract class   is a way to achieve the abstraction in C#. An Abstract class is never intended to be instantiated directly. This class must contain at least one abstract method, which is marked by the keyword or modifier  abstract  in the class definition. The Abstract classes are typically used to define a base class in the class hierarchy. Example: // C# program to illustrate the // concept of abstract class using System; // abstract class 'G' public abstract class G {         // abstract method 'gfg1()'     public abstract void gfg1(); }     // class 'G' inherit // in child class 'G1' public class G1 : G {         // abstract method 'gfg1()'     // declare here with     // 'override...
Recent posts

Access Modifiers in C#

  What is access modifiers in C# Access modifiers specify the accessibility of an object and all of its members in the C# project. Moreover, all the C# types have access modifiers implemented, even if they are not stated (default access modifier is applied then). Access Modifiers Types public The type or member can be accessed by any other code in the same assembly or another assembly that references it. private The type or member can be accessed only by code in the same class or struct. protected The type or member can be accessed only by code in the same class or struct, or in a class that is derived from that class. internal The type or member can be accessed by any code in the same assembly, but not from another assembly. protected internal The type or member can be accessed by any code in the assembly in which it is declared, or from within a derived class in another assembly. Access from another assembly must take place within a class declaration that derives from the class ...

SQL Reporting Service

Create Business Alert Configure SQL Reporting Service (I will add Post for configuration) Create your report using SQL Report Builder Use SQL Reporting service to create Alert (AS Follow)