SpringCM .NET Questions Flashcards

1
Q

When should you use .NET Web Forms over ASP.NET MVC?

A

webforms were used as the primary form of developing quick web apps using the .NET library. ASP.NET allows for MVC. MVC is adventageous because it allows the application to separate the logic. Models Views Controllers for Views

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Managed vs Unmanaged Code

A

C and C++ are unmanged language so to speak. Memory has to be managed. Pointers that are allocated must be deallocated when necessary. However, C# and Java all manage garbage collection to allocate and deallocate memory for the developer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is LINQ

A

Language Integrated Query. Provides a means of manipulating data via expressive queries.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

readonly vs constant

A

Read-only variables can support reference-type variables. Constants can hold only value-type variables.
Developers evaluate read-only variables at the runtime. They evaluate constants at the compile time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is IL

A

IL stands for Intermediate Language, which is an object-oriented programming language that is a partially compiled code that .NET developers will then compile to native machine code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

CIL

A

CIL stands for Common Intermediate Language, formerly known as Microsoft Intermediate Language (MSIL). This is another programming language that .NET developers use, and it represents the lowest possible level for a language that humans can still read.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly