1. Question:Static vs Non static members? 

    Answer
    Static Member :The static member is callable on a class even when no instance of the class has been created. The static member is always accessed by the class name, not the instance nameNon-static Member :






    1. Report
  2. Question:Briefly describe C# access modifiers. 

    Answer
    Access modifiers are keywords used to specify the declared accessibility of a member or a type. Access modifiers are an integral part of object-oriented programming.  There are 5 different types of Access Modifiers: 
    1. Public.
    2. Internal.
    3. Private.
    4. Protected.
    5. Protected internal.






    1. Report
  3. Question:Define Interfaces. 

    Answer
    An interface is similar to a class, but it provides a specification rather than an implementation for its members. An interface contains definitions for a group of related functionalities that aclass or a struct can implement.






    1. Report
Copyright © 2025. Powered by Intellect Software Ltd