C# and .
NET Interview Guide by Hvege
Q1: Sample Question 1
A: .NET is a framework while C# is a language used with it.
Q2: Sample Question 2
A: .NET Framework is Windows-only, .NET Core is cross-platform, and .NET 5 unifies them.
Q3: Sample Question 3
A: IL is compiled from source code before being JIT-compiled to machine code.
Q4: Sample Question 4
A: JIT compiles IL to native code at runtime.
Q5: Sample Question 5
A: Yes, IL code can be viewed using ILDASM or ILSpy.
Q6: Sample Question 6
A: Compiling to IL provides platform independence and runtime optimization.
Q7: Sample Question 7
A: Yes, .NET supports multiple languages like C#, F#, and VB.NET.
Q8: Sample Question 8
A: CLR is the runtime environment for .NET applications.
Q9: Sample Question 9
A: Managed code runs under CLR; unmanaged does not.
Q10: Sample Question 10
A: Garbage collector manages memory automatically.
Q11: Sample Question 11
A: .NET is a framework while C# is a language used with it.
Q12: Sample Question 12
A: .NET Framework is Windows-only, .NET Core is cross-platform, and .NET 5 unifies them.
Q13: Sample Question 13
A: IL is compiled from source code before being JIT-compiled to machine code.
Q14: Sample Question 14
A: JIT compiles IL to native code at runtime.
Q15: Sample Question 15
A: Yes, IL code can be viewed using ILDASM or ILSpy.
Q16: Sample Question 16
A: Compiling to IL provides platform independence and runtime optimization.
Q17: Sample Question 17
A: Yes, .NET supports multiple languages like C#, F#, and VB.NET.
Q18: Sample Question 18
A: CLR is the runtime environment for .NET applications.
Q19: Sample Question 19
A: Managed code runs under CLR; unmanaged does not.
Q20: Sample Question 20
A: Garbage collector manages memory automatically.
Q21: Sample Question 21
A: .NET is a framework while C# is a language used with it.
Q22: Sample Question 22
A: .NET Framework is Windows-only, .NET Core is cross-platform, and .NET 5 unifies them.
Q23: Sample Question 23
A: IL is compiled from source code before being JIT-compiled to machine code.
Q24: Sample Question 24
A: JIT compiles IL to native code at runtime.
Page 1
C# and .NET Interview Guide by Hvege
Q25: Sample Question 25
A: Yes, IL code can be viewed using ILDASM or ILSpy.
Q26: Sample Question 26
A: Compiling to IL provides platform independence and runtime optimization.
Q27: Sample Question 27
A: Yes, .NET supports multiple languages like C#, F#, and VB.NET.
Q28: Sample Question 28
A: CLR is the runtime environment for .NET applications.
Q29: Sample Question 29
A: Managed code runs under CLR; unmanaged does not.
Q30: Sample Question 30
A: Garbage collector manages memory automatically.
Q31: Sample Question 31
A: .NET is a framework while C# is a language used with it.
Q32: Sample Question 32
A: .NET Framework is Windows-only, .NET Core is cross-platform, and .NET 5 unifies them.
Q33: Sample Question 33
A: IL is compiled from source code before being JIT-compiled to machine code.
Q34: Sample Question 34
A: JIT compiles IL to native code at runtime.
Q35: Sample Question 35
A: Yes, IL code can be viewed using ILDASM or ILSpy.
Q36: Sample Question 36
A: Compiling to IL provides platform independence and runtime optimization.
Q37: Sample Question 37
A: Yes, .NET supports multiple languages like C#, F#, and VB.NET.
Q38: Sample Question 38
A: CLR is the runtime environment for .NET applications.
Q39: Sample Question 39
A: Managed code runs under CLR; unmanaged does not.
Q40: Sample Question 40
A: Garbage collector manages memory automatically.
Q41: Sample Question 41
A: .NET is a framework while C# is a language used with it.
Q42: Sample Question 42
A: .NET Framework is Windows-only, .NET Core is cross-platform, and .NET 5 unifies them.
Q43: Sample Question 43
A: IL is compiled from source code before being JIT-compiled to machine code.
Q44: Sample Question 44
A: JIT compiles IL to native code at runtime.
Q45: Sample Question 45
A: Yes, IL code can be viewed using ILDASM or ILSpy.
Q46: Sample Question 46
A: Compiling to IL provides platform independence and runtime optimization.
Q47: Sample Question 47
A: Yes, .NET supports multiple languages like C#, F#, and VB.NET.
Q48: Sample Question 48
A: CLR is the runtime environment for .NET applications.
Page 2
C# and .NET Interview Guide by Hvege
Q49: Sample Question 49
A: Managed code runs under CLR; unmanaged does not.
Q50: Sample Question 50
A: Garbage collector manages memory automatically.
Q51: Sample Question 51
A: .NET is a framework while C# is a language used with it.
Q52: Sample Question 52
A: .NET Framework is Windows-only, .NET Core is cross-platform, and .NET 5 unifies them.
Q53: Sample Question 53
A: IL is compiled from source code before being JIT-compiled to machine code.
Q54: Sample Question 54
A: JIT compiles IL to native code at runtime.
Q55: Sample Question 55
A: Yes, IL code can be viewed using ILDASM or ILSpy.
Q56: Sample Question 56
A: Compiling to IL provides platform independence and runtime optimization.
Q57: Sample Question 57
A: Yes, .NET supports multiple languages like C#, F#, and VB.NET.
Q58: Sample Question 58
A: CLR is the runtime environment for .NET applications.
Q59: Sample Question 59
A: Managed code runs under CLR; unmanaged does not.
Q60: Sample Question 60
A: Garbage collector manages memory automatically.
Q61: Sample Question 61
A: .NET is a framework while C# is a language used with it.
Q62: Sample Question 62
A: .NET Framework is Windows-only, .NET Core is cross-platform, and .NET 5 unifies them.
Q63: Sample Question 63
A: IL is compiled from source code before being JIT-compiled to machine code.
Q64: Sample Question 64
A: JIT compiles IL to native code at runtime.
Q65: Sample Question 65
A: Yes, IL code can be viewed using ILDASM or ILSpy.
Q66: Sample Question 66
A: Compiling to IL provides platform independence and runtime optimization.
Q67: Sample Question 67
A: Yes, .NET supports multiple languages like C#, F#, and VB.NET.
Q68: Sample Question 68
A: CLR is the runtime environment for .NET applications.
Q69: Sample Question 69
A: Managed code runs under CLR; unmanaged does not.
Q70: Sample Question 70
A: Garbage collector manages memory automatically.
Q71: Sample Question 71
A: .NET is a framework while C# is a language used with it.
Q72: Sample Question 72
A: .NET Framework is Windows-only, .NET Core is cross-platform, and .NET 5 unifies them.
Page 3
C# and .NET Interview Guide by Hvege
Q73: Sample Question 73
A: IL is compiled from source code before being JIT-compiled to machine code.
Q74: Sample Question 74
A: JIT compiles IL to native code at runtime.
Q75: Sample Question 75
A: Yes, IL code can be viewed using ILDASM or ILSpy.
Q76: Sample Question 76
A: Compiling to IL provides platform independence and runtime optimization.
Q77: Sample Question 77
A: Yes, .NET supports multiple languages like C#, F#, and VB.NET.
Q78: Sample Question 78
A: CLR is the runtime environment for .NET applications.
Q79: Sample Question 79
A: Managed code runs under CLR; unmanaged does not.
Q80: Sample Question 80
A: Garbage collector manages memory automatically.
Q81: Sample Question 81
A: .NET is a framework while C# is a language used with it.
Q82: Sample Question 82
A: .NET Framework is Windows-only, .NET Core is cross-platform, and .NET 5 unifies them.
Q83: Sample Question 83
A: IL is compiled from source code before being JIT-compiled to machine code.
Q84: Sample Question 84
A: JIT compiles IL to native code at runtime.
Q85: Sample Question 85
A: Yes, IL code can be viewed using ILDASM or ILSpy.
Q86: Sample Question 86
A: Compiling to IL provides platform independence and runtime optimization.
Q87: Sample Question 87
A: Yes, .NET supports multiple languages like C#, F#, and VB.NET.
Q88: Sample Question 88
A: CLR is the runtime environment for .NET applications.
Q89: Sample Question 89
A: Managed code runs under CLR; unmanaged does not.
Q90: Sample Question 90
A: Garbage collector manages memory automatically.
Q91: Sample Question 91
A: .NET is a framework while C# is a language used with it.
Q92: Sample Question 92
A: .NET Framework is Windows-only, .NET Core is cross-platform, and .NET 5 unifies them.
Q93: Sample Question 93
A: IL is compiled from source code before being JIT-compiled to machine code.
Q94: Sample Question 94
A: JIT compiles IL to native code at runtime.
Q95: Sample Question 95
A: Yes, IL code can be viewed using ILDASM or ILSpy.
Q96: Sample Question 96
A: Compiling to IL provides platform independence and runtime optimization.
Page 4
C# and .NET Interview Guide by Hvege
Q97: Sample Question 97
A: Yes, .NET supports multiple languages like C#, F#, and VB.NET.
Q98: Sample Question 98
A: CLR is the runtime environment for .NET applications.
Q99: Sample Question 99
A: Managed code runs under CLR; unmanaged does not.
Q100: Sample Question 100
A: Garbage collector manages memory automatically.
Q101: Sample Question 101
A: .NET is a framework while C# is a language used with it.
Q102: Sample Question 102
A: .NET Framework is Windows-only, .NET Core is cross-platform, and .NET 5 unifies them.
Q103: Sample Question 103
A: IL is compiled from source code before being JIT-compiled to machine code.
Q104: Sample Question 104
A: JIT compiles IL to native code at runtime.
Q105: Sample Question 105
A: Yes, IL code can be viewed using ILDASM or ILSpy.
Q106: Sample Question 106
A: Compiling to IL provides platform independence and runtime optimization.
Q107: Sample Question 107
A: Yes, .NET supports multiple languages like C#, F#, and VB.NET.
Q108: Sample Question 108
A: CLR is the runtime environment for .NET applications.
Q109: Sample Question 109
A: Managed code runs under CLR; unmanaged does not.
Q110: Sample Question 110
A: Garbage collector manages memory automatically.
Q111: Sample Question 111
A: .NET is a framework while C# is a language used with it.
Q112: Sample Question 112
A: .NET Framework is Windows-only, .NET Core is cross-platform, and .NET 5 unifies them.
Q113: Sample Question 113
A: IL is compiled from source code before being JIT-compiled to machine code.
Q114: Sample Question 114
A: JIT compiles IL to native code at runtime.
Q115: Sample Question 115
A: Yes, IL code can be viewed using ILDASM or ILSpy.
Q116: Sample Question 116
A: Compiling to IL provides platform independence and runtime optimization.
Q117: Sample Question 117
A: Yes, .NET supports multiple languages like C#, F#, and VB.NET.
Q118: Sample Question 118
A: CLR is the runtime environment for .NET applications.
Q119: Sample Question 119
A: Managed code runs under CLR; unmanaged does not.
Q120: Sample Question 120
A: Garbage collector manages memory automatically.
Page 5
C# and .NET Interview Guide by Hvege
Q121: Sample Question 121
A: .NET is a framework while C# is a language used with it.
Q122: Sample Question 122
A: .NET Framework is Windows-only, .NET Core is cross-platform, and .NET 5 unifies them.
Q123: Sample Question 123
A: IL is compiled from source code before being JIT-compiled to machine code.
Q124: Sample Question 124
A: JIT compiles IL to native code at runtime.
Q125: Sample Question 125
A: Yes, IL code can be viewed using ILDASM or ILSpy.
Q126: Sample Question 126
A: Compiling to IL provides platform independence and runtime optimization.
Q127: Sample Question 127
A: Yes, .NET supports multiple languages like C#, F#, and VB.NET.
Q128: Sample Question 128
A: CLR is the runtime environment for .NET applications.
Q129: Sample Question 129
A: Managed code runs under CLR; unmanaged does not.
Q130: Sample Question 130
A: Garbage collector manages memory automatically.
Q131: Sample Question 131
A: .NET is a framework while C# is a language used with it.
Q132: Sample Question 132
A: .NET Framework is Windows-only, .NET Core is cross-platform, and .NET 5 unifies them.
Q133: Sample Question 133
A: IL is compiled from source code before being JIT-compiled to machine code.
Q134: Sample Question 134
A: JIT compiles IL to native code at runtime.
Q135: Sample Question 135
A: Yes, IL code can be viewed using ILDASM or ILSpy.
Q136: Sample Question 136
A: Compiling to IL provides platform independence and runtime optimization.
Q137: Sample Question 137
A: Yes, .NET supports multiple languages like C#, F#, and VB.NET.
Q138: Sample Question 138
A: CLR is the runtime environment for .NET applications.
Q139: Sample Question 139
A: Managed code runs under CLR; unmanaged does not.
Q140: Sample Question 140
A: Garbage collector manages memory automatically.
Q141: Sample Question 141
A: .NET is a framework while C# is a language used with it.
Q142: Sample Question 142
A: .NET Framework is Windows-only, .NET Core is cross-platform, and .NET 5 unifies them.
Q143: Sample Question 143
A: IL is compiled from source code before being JIT-compiled to machine code.
Q144: Sample Question 144
A: JIT compiles IL to native code at runtime.
Page 6
C# and .NET Interview Guide by Hvege
Q145: Sample Question 145
A: Yes, IL code can be viewed using ILDASM or ILSpy.
Q146: Sample Question 146
A: Compiling to IL provides platform independence and runtime optimization.
Q147: Sample Question 147
A: Yes, .NET supports multiple languages like C#, F#, and VB.NET.
Q148: Sample Question 148
A: CLR is the runtime environment for .NET applications.
Q149: Sample Question 149
A: Managed code runs under CLR; unmanaged does not.
Q150: Sample Question 150
A: Garbage collector manages memory automatically.
Q151: Sample Question 151
A: .NET is a framework while C# is a language used with it.
Q152: Sample Question 152
A: .NET Framework is Windows-only, .NET Core is cross-platform, and .NET 5 unifies them.
Q153: Sample Question 153
A: IL is compiled from source code before being JIT-compiled to machine code.
Q154: Sample Question 154
A: JIT compiles IL to native code at runtime.
Q155: Sample Question 155
A: Yes, IL code can be viewed using ILDASM or ILSpy.
Q156: Sample Question 156
A: Compiling to IL provides platform independence and runtime optimization.
Q157: Sample Question 157
A: Yes, .NET supports multiple languages like C#, F#, and VB.NET.
Q158: Sample Question 158
A: CLR is the runtime environment for .NET applications.
Q159: Sample Question 159
A: Managed code runs under CLR; unmanaged does not.
Q160: Sample Question 160
A: Garbage collector manages memory automatically.
Q161: Sample Question 161
A: .NET is a framework while C# is a language used with it.
Q162: Sample Question 162
A: .NET Framework is Windows-only, .NET Core is cross-platform, and .NET 5 unifies them.
Q163: Sample Question 163
A: IL is compiled from source code before being JIT-compiled to machine code.
Q164: Sample Question 164
A: JIT compiles IL to native code at runtime.
Q165: Sample Question 165
A: Yes, IL code can be viewed using ILDASM or ILSpy.
Q166: Sample Question 166
A: Compiling to IL provides platform independence and runtime optimization.
Q167: Sample Question 167
A: Yes, .NET supports multiple languages like C#, F#, and VB.NET.
Q168: Sample Question 168
A: CLR is the runtime environment for .NET applications.
Page 7
C# and .NET Interview Guide by Hvege
Q169: Sample Question 169
A: Managed code runs under CLR; unmanaged does not.
Q170: Sample Question 170
A: Garbage collector manages memory automatically.
Q171: Sample Question 171
A: .NET is a framework while C# is a language used with it.
Q172: Sample Question 172
A: .NET Framework is Windows-only, .NET Core is cross-platform, and .NET 5 unifies them.
Q173: Sample Question 173
A: IL is compiled from source code before being JIT-compiled to machine code.
Q174: Sample Question 174
A: JIT compiles IL to native code at runtime.
Q175: Sample Question 175
A: Yes, IL code can be viewed using ILDASM or ILSpy.
Q176: Sample Question 176
A: Compiling to IL provides platform independence and runtime optimization.
Q177: Sample Question 177
A: Yes, .NET supports multiple languages like C#, F#, and VB.NET.
Q178: Sample Question 178
A: CLR is the runtime environment for .NET applications.
Q179: Sample Question 179
A: Managed code runs under CLR; unmanaged does not.
Q180: Sample Question 180
A: Garbage collector manages memory automatically.
Q181: Sample Question 181
A: .NET is a framework while C# is a language used with it.
Q182: Sample Question 182
A: .NET Framework is Windows-only, .NET Core is cross-platform, and .NET 5 unifies them.
Q183: Sample Question 183
A: IL is compiled from source code before being JIT-compiled to machine code.
Q184: Sample Question 184
A: JIT compiles IL to native code at runtime.
Q185: Sample Question 185
A: Yes, IL code can be viewed using ILDASM or ILSpy.
Q186: Sample Question 186
A: Compiling to IL provides platform independence and runtime optimization.
Q187: Sample Question 187
A: Yes, .NET supports multiple languages like C#, F#, and VB.NET.
Q188: Sample Question 188
A: CLR is the runtime environment for .NET applications.
Q189: Sample Question 189
A: Managed code runs under CLR; unmanaged does not.
Q190: Sample Question 190
A: Garbage collector manages memory automatically.
Q191: Sample Question 191
A: .NET is a framework while C# is a language used with it.
Page 8