C# (CSharp) Flashcards
1
Q
What is O.O.P.?
A
2
Q
What are the pillars of O.O.P.?
A
3
Q
Encapsulation
A
4
Q
Polymorphism
A
5
Q
Abstraction
A
6
Q
Inheritance
A
7
Q
overloading vs. overriding a method
A
8
Q
virtual vs. abstract methods
A
9
Q
non-access modifiers
A
10
Q
access modifiers
A
11
Q
protected
A
12
Q
private
A
13
Q
internal
A
14
Q
public
A
15
Q
protected internal
A
16
Q
static
A
17
Q
readonly
A
18
Q
final (non-access modifier)
A
19
Q
try-catch
A
20
Q
runtime error vs. compile-time error
A
A compile-time error generally refers to the errors that correspond to the semantics or syntax. A runtime error refers to the error that we encounter during the code execution during runtime.
21
Q
What is CLR?
A
22
Q
What is CLI?
A
23
Q
SOLID Principles
A
24
Q
Dependency Inversion Principle
A
25
Lizkov Substitution Principle
26
Single Responsibility Principle
27
Open-Close Principle
28
Interface Segregation Principle
29
What is a Design Pattern?
30
Creational Design Patterns
31
Structural Design Patterns
32
Behavioral Design Patterns
33
The Facade Design Pattern
34
The Factory Method Design Pattern
35
The Singleton Design Pattern
36
The Strategy Design Pattern
37
The Adapter Design Pattern
38
Is METHOD OVERLOADING runtime or compile-time?
39
conditionals / branches
40
loops
41
iterators
42
generics
43
non generics
44
boxing
45
unboxing
46
stack (with operations)
47
queue (with operations)
48
heap
49
dictionary vs list vs Ienumerable
50
value types vs reference types
51
stack vs heap
52
default class
internal
53
default access member
private