1. Question:Define dynamic, static, custom and language binding? 

    Answer
    Dynamic binding :Dynamic  binding defers  binding—the  process  of  resolving  types,  members,  and
    operations—from  compile  time  to  run-time.Static binding : It is defined as, when we compile our program and an object type is determined then it is known as static binding or early binding.Custom binding : Defines a binding from a list of binding elements.Language binding : Language  binding  occurs  when  a  dynamic  object  does  not  implement
    IDynamicMetaObjectProvider






    1. Report
  2. Question:Write difference between classes and structs in C#. 

    Answer
    1. Classes are Reference types and Structures are Values types. 
    2. Classes can have explicitly parameterless constructors whereas structures can’t.
    3. A variable can be null if it’s a class, but is never null if it’s a struct.
    4. Member variable initialization is possible in class whereas in Structures, it is not.






    1. Report
  3. Question:What is Lamda expressions. 

    Answer
    A lambda expression is an unnamed method written in place of a delegate instance.
    The compiler immediately converts the lambda expression to either:
    • A delegate instance.
    • An expression tree, of type  Expression<TDelegate>






    1. Report
  4. Question:Define Generics and Type Parameters? 

    Answer
    Generics type Parameter
    In a generic type or method definition, a type parameters is a placeholder for a specific type that a client specifies when they instantiate a variable of the generic type
    GenericList<float> list1 = new GenericList<float>();






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