์ด ํ๋์์นด๋๋ ์์ง ์ ์ฅ๋์ง ์์์ด โ ํ์ด์ง๋ฅผ ๋๊ฐ๋ฉด ์ฌ๋ผ์ ธ. ๋ฌด๋ฃ ๊ณ์ ์ ๋ง๋ค๋ฉด ์ ์ฅ๋๊ณ ์๋ ๊ธฐ๋ฅ๋ค๋ ๋ชจ๋ ์ด์ฉํ ์ ์์ด.
What is the difference between a reference type and a value type?
Value types hold data directly; reference types store a reference to data. Value types are on the stack; reference types on the heap. Examples: value types - int, bool; reference types - classes, arrays, strings.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What is a singleton?
A singleton is a design pattern that restricts a class to a single instance throughout the application's lifecycle.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What is the difference between an array and a List?
Array is fixed-size; List is dynamic and can grow/shrink. Lists provide more functionality like adding/removing elements.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What is a dictionary/map?
A dictionary is a collection of key-value pairs for fast lookups based on keys.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
How does a hashset differ from a dictionary?
A hashset stores unique values and does not allow duplicates; a dictionary uses key-value pairs.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What is a static field?
A static field belongs to the class itself and is shared across all instances.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
How is a static method called?
A static method is called on the class itself, e.g., ClassName.StaticMethod().
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What is a namespace?
A namespace organizes code and prevents naming conflicts by grouping related types.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What are common access modifiers in C#?
Public, private, protected, internal, protected internal.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What is the using statement used for?
The using statement manages resources and ensures IDisposable objects are disposed of properly.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What is the difference between abstract classes and interfaces?
Abstract classes can have both abstract and concrete methods; interfaces can only declare methods without implementation.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
How does async/await work?
async marks a method as asynchronous; await pauses execution until the awaited task completes.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What is the yield keyword used for?
To simplify the implementation of iterators when returning values one at a time from a collection.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What interface is yield commonly used with?
IEnumerable interface.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What method is used in LINQ to filter results?
The Where method.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What method is used in LINQ to project or convert?
The Select method.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What methods are used in LINQ to sort results?
OrderBy and OrderByDescending methods.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
How are IEnumerable and IQueryable similar?
Both are interfaces used for data querying.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
How are IEnumerable and IQueryable different?
IEnumerable executes queries on the client side, while IQueryable executes on the server side.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What does MVC stand for?
Model-View-Controller.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What does the Model represent in MVC?
The data and business logic.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What does the View represent in MVC?
The user interface.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What does the Controller do in MVC?
Handles user input and interactions, updating the Model and View.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What are common return types for an MVC action?
ViewResult, JsonResult, RedirectResult, ContentResult, FileResult.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What is dependency injection?
A design pattern for achieving Inversion of Control between classes and their dependencies.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
Why is dependency injection important?
It makes code more modular, testable, and maintainable.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What is the Transient scope in DI?
A new instance is created each time it is requested.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What is the Singleton scope in DI?
A single instance is created and shared throughout the application.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What is the Scoped scope in DI?
A new instance is created once per request or scope.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What is middleware in ASP.NET Core?
A component that processes HTTP requests and responses.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What are filters in ASP.NET MVC?
Used to execute code before or after certain stages of request processing.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What is model binding in ASP.NET MVC?
Mapping HTTP request data to action method parameters.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What is attribute routing in ASP.NET MVC?
Defining routes directly on controller actions using attributes.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What are RESTful principles in Web API development?
Creating APIs that use standard HTTP methods and are stateless.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What HTTP methods are used in RESTful APIs?
GET, POST, PUT, DELETE.
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What methods do REST APIs use?
GET, POST, PUT, DELETE
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What type of URIs do REST APIs provide?
Meaningful resource URIs
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What is a key characteristic of REST APIs?
They are stateless
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What do REST APIs follow to be predictable?
Conventions
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
Why are REST APIs easy to use?
They are predictable
์ฌ๊ธฐ์์ ์นด๋๋ฅผ ์ดํด๋ณด๊ฑฐ๋ sign up to study with spaced repetition.
What is the difference between a reference type and a value type?
Value types hold data directly; reference types store a reference to data. Value types are on the stack; reference types on the heap. Examples: value types - int, bool; reference types - classes, arrays, strings.
What is a singleton?
A singleton is a design pattern that restricts a class to a single instance throughout the application's lifecycle.
What is the difference between an array and a List?
Array is fixed-size; List is dynamic and can grow/shrink. Lists provide more functionality like adding/removing elements.
What is a dictionary/map?
A dictionary is a collection of key-value pairs for fast lookups based on keys.
How does a hashset differ from a dictionary?
A hashset stores unique values and does not allow duplicates; a dictionary uses key-value pairs.
What is a static field?
A static field belongs to the class itself and is shared across all instances.
How is a static method called?
A static method is called on the class itself, e.g., ClassName.StaticMethod().
What is a namespace?
A namespace organizes code and prevents naming conflicts by grouping related types.
What are common access modifiers in C#?
Public, private, protected, internal, protected internal.
What is the using statement used for?
The using statement manages resources and ensures IDisposable objects are disposed of properly.
What is the difference between abstract classes and interfaces?
Abstract classes can have both abstract and concrete methods; interfaces can only declare methods without implementation.
How does async/await work?
async marks a method as asynchronous; await pauses execution until the awaited task completes.
What is the yield keyword used for?
To simplify the implementation of iterators when returning values one at a time from a collection.
What interface is yield commonly used with?
IEnumerable interface.
What method is used in LINQ to filter results?
The Where method.
What method is used in LINQ to project or convert?
The Select method.
What methods are used in LINQ to sort results?
OrderBy and OrderByDescending methods.
How are IEnumerable and IQueryable similar?
Both are interfaces used for data querying.
How are IEnumerable and IQueryable different?
IEnumerable executes queries on the client side, while IQueryable executes on the server side.
What does MVC stand for?
Model-View-Controller.
What does the Model represent in MVC?
The data and business logic.
What does the View represent in MVC?
The user interface.
What does the Controller do in MVC?
Handles user input and interactions, updating the Model and View.
What are common return types for an MVC action?
ViewResult, JsonResult, RedirectResult, ContentResult, FileResult.
What is dependency injection?
A design pattern for achieving Inversion of Control between classes and their dependencies.
Why is dependency injection important?
It makes code more modular, testable, and maintainable.
What is the Transient scope in DI?
A new instance is created each time it is requested.
What is the Singleton scope in DI?
A single instance is created and shared throughout the application.
What is the Scoped scope in DI?
A new instance is created once per request or scope.
What is middleware in ASP.NET Core?
A component that processes HTTP requests and responses.
What are filters in ASP.NET MVC?
Used to execute code before or after certain stages of request processing.
What is model binding in ASP.NET MVC?
Mapping HTTP request data to action method parameters.
What is attribute routing in ASP.NET MVC?
Defining routes directly on controller actions using attributes.
What are RESTful principles in Web API development?
Creating APIs that use standard HTTP methods and are stateless.
What HTTP methods are used in RESTful APIs?
GET, POST, PUT, DELETE.
What methods do REST APIs use?
GET, POST, PUT, DELETE
What type of URIs do REST APIs provide?
Meaningful resource URIs
What is a key characteristic of REST APIs?
They are stateless
What do REST APIs follow to be predictable?
Conventions
Why are REST APIs easy to use?
They are predictable
์ ๋ง ์ญ์ ํ์๊ฒ ์ด์? 0 ํ๋์์นด๋๋ฅผ ์ญ์ ํ๋ฉด ๋๋๋ฆด ์ ์์ต๋๋ค.
์ ๊ฑฐํ ํ๊ทธ๋ฅผ ์ ํํ์ธ์: 0 ์ ํ๋ ํ๋์์นด๋:
ํ๊ทธ ๋ก๋ฉ ์ค...