C# QUESTIONS asked at Charter/Spectrum

  1. (C#): What is the difference between an Interface and an Abstract Class?
    In C#, an interface is used to define the outer abilities of a class. An abstract class is used to define the actual identity of a class and it is used as the object or the same type. In C#, an interface is used if various implementations only shared method signatures.
  2. (C#): What are Generics in C#?
    A feature in C# that allows defining a class or method with type as a parameter. They allow for designing  classes and methods whose types are specified only at the time of declaration and instantiation.
  3. (C#): What are the 3 major uses for the using keyword?
    The using keyword has three major uses:

    • defines a scope at the end of which an object will be disposed.
    •  creates an alias for a namespace or imports types defined in other namespaces.
    • using static directive imports the members of a single class.
Author
geschw66
ID
350422
Card Set
C# QUESTIONS asked at Charter/Spectrum
Description
Questions asked at the Spectrum/Charter screening interview.
Updated