#CSharpInterviewQuestions2022
Explore tagged Tumblr posts
Text
C# Interview Questions and Answers - Part 19:
Q184. What is the difference between Routing in ASP .Net Core 2.0 and ASP .Net Core 3.0? Q185. What is End Point? What is End Point Routing in ASP .Net Core? Q186. How does the End Point Routing work in ASP .Net Core MVC? Q187. How can you define endpoints in ASP .Net Core? Q188. What is UseEndpoints() middleware in ASP .Net MVC Core? Q189. What is POST Tunneling Middleware in ASP .NET Core? What is UseHttpMethodOverride() middleware in ASP .Net Core? Q190. How can you enforce HTTPS in ASP .NET Core Project? Q191. What is OWIN? How can you use OWIN in ASP .NET Core? Q192. What is SignalR in ASP .NET Core? Q193. What is a Secret Manager in ASP .Net Core?
Please visit www.techpointfunda.com for more Interview Questions and Answers.
#CSharpInterviewQuestionsAndAnswers#CSharpInterviewQuestions2022#CSharpInterview#techpointfundamentals#techpointfunda#techpoint#interview
3 notes
·
View notes
Text
C# Interview Questions and Answers - Part 18:
Q175. What is Routing? How does routing work in ASP .Net Core? Q176. What is the difference between Route, RouteCollection, and Route Handler? Q177. What is the difference between MapControllerRoute vs MapDefaultControllerRoute vs MapControllers in ASP .Net Core MVC? Q178. What is Route URL Pattern in ASP .Net Core MVC? Q179. What is Default Route? How can you define multiple routes in ASP .Net MVC Core? Q180. What are the different types of routing in ASP .Net Core? Q181. What is Conventional based Routing in ASP .Net Core? Q182. What is Attribute-based Routing in ASP .Net Core? Q183. What is the use of UseRouting() middleware in ASP .Net Core? How it is different from UseEndPoints()?
#CSharpInterviewQuestionsAndAnswers#CSharpInterviewQuestions2022#InterviewQuestionsAndAnswers#techpointfundamentals#techpointfunda#techpoint#interview#csharpprogramming
1 note
·
View note
Text
C# Interview Questions and Answers - Part 14:
Q141. What is the difference between Mutex and Monitor? Q142. What is Semaphore C#? How does the Semaphore work? Q143. What is deadlock? How can you prevent deadlock in C#? Q144. What do you mean by thread-safe? How can you share data between multiple threads? Q145. How can you retrieve data from a thread? What is a callback method? Q146. What is Annonumous Method in C#? Q147. What is Lambda Expression in C#? Q148. What is a thread? What is the thread life cycle or different states of a thread? Q149. What is the difference between task.wait(), task.delay(), and thread.sleep() in C#? Q150. What is string interpolation in C#?
#CSharpInterviewQuestionsAndAnswers#CSharpInterviewQuestions2022#CSharpInterview#InterviewPreparation#InterviewQuestionsAndAnswers#techpointfundamentals#techpointfunda#techpoint
1 note
·
View note
Text
C# Interview Questions and Answers - Part 13:
Q131. What is TPL in the .Net? Why TPL is required in C#? Q132. What is the difference between ForEach and Parallel.ForEach loop in C#? Q133. What is the difference between Standard For Loop and Parallel.For Loop in C#? Q134. What is the difference between task, process, and thread? Q135. What is Multi-threading? What is the difference between Multi-threading vs MultiTasking or Multi-threading vs Concurrency? Q136. What is the difference between Concurrency and Parallelism? Are they same as async programming? Q137. What is asynchronous programming? What is the use of async and await keywords in C#? Q138. What is a Task in C#? What is the difference between task and thread? Q139. What is synchronization and why it is important? Q140. What is the difference between Join and Lock synchronization?
#CSharpInterviewQuestionsAndAnswers#CSharpInterviewQuestions2022#CSharpInterview#InterviewPreparation#InterviewQuestionsAndAnswers#techpointfundamentals#techpointfunda#techpoint#csharpprogramming#csharpdotnet
1 note
·
View note
Text
C# Interview Questions and Answers - Part 12:
Q121. What is the difference between final, finally, and finalize? Q122. What is the difference between First() and FirstOrDefualt() in C#? Q123. What is the volatile keyword? What is the use of volatile keywords in C#? Q124. What is the difference between Deferred Execution vs Immediate Execution? or What is the difference between Lazy Operators vs Greedy Operators? Q125. What is the difference between Lazy Loading vs Early Loading in C#? Q126. What is the difference between Late Binding and Lazy Loading? Are both the same? Q127. What is the difference between Early Binding and Early Loading? Are both the same? Q128. What is the difference between "this" vs "base" keyword in C#? Q129. What is the difference between foreach loop and for loop in C#? Q130. What is the difference between instance field and property in the C# class?
#CSharpInterviewQuestionsAndAnswers#CSharpInterviewQuestions2022#CSharpInterview#InterviewPreparation#InterviewQuestionsAndAnswers#techpointfundamentals#techpointfunda#techpoint
1 note
·
View note
Text
C# Interview Questions and Answers - Part 11:
Q101 What is Data Annotation in C#? How can you do remote validation using it? Q102. What is Reflection? What is the use of reflection in C#? Q103. What is LINQ in C#? Q104. What is Extension Method in C#? What is the difference between the Extension Method, Overloaded Method, and Overridden Method? Q105. What are Anonymous Types in C#? How it is different from dynamic types? Q106. What is the difference between dynamic and var type in C#? Q107. What is the difference between the “throw” and “throw ex” in .NET? Q108. What is finally block? How many finally blocks can you define with a try block? Q109. What will happen if the finally block throws an exception? Q110. What is the difference between the IS and AS Operators in C#?
#CSharpInterviewQuestionsAndAnswers#CSharpInterviewQuestions2022#CSharpInterview#InterviewPreparation#InterviewQuestionsAndAnswers#techpointfundamentals#techpointfunda#techpoint#csharpprogramming
0 notes
Text
Q091. What are the different ways to handle the exceptions in C#? Can a try block exist without a catch block in C#? Q092. What is the difference between IEnumerable and IEnumerator in C#? Q093. What is the difference between IEnumerable and IQueryable in C#? Q094. What is the difference between IEnumerable, IList, and List in C#? Q095. What is the use of Params keyword in C#? Q096. What is the difference between Equality Operator "==" and .Equals() method comparison in C#? Q097. What is a private constructor? What is the use of a private constructor? Q098. What is a static constructor in C#? How can you call the static constructor? Q099. What is the Constructor Chaining in C#? How it is different from Constructor Overloading? Q100. Can you prevent a class from being instantiated? What are the different ways to do that?
#CSharpInterviewQuestionsAndAnswers#CSharpInterviewQuestions2022#CSharpInterview#InterviewPreparation#InterviewQuestionsAndAnswers#techpointfundamentals#techpointfunda#techpoint#csharpprogramming
1 note
·
View note
Text
Q081. What is the difference between constant and readonly in C#? Q082. What is recursion? Which data structure is used by the recursion? Q083. What is a delegate in C#? Can you tell me some common delegates available in C#? Q084. What is the use of FUNC, PREDICATE, and ACTION delegates in C#? Q085. What are the generics in C#, and why they are required? How can you define a generic class and methods in C#? Q086. What is the difference between generic and non-generic collections? Or What is the difference between System.Collections and System.Collections.Generic namespaces? Q087. What is the difference between an Array and ArrayList in C#? Q088. What is the difference between the Array.CopyTo and Array.Clone? Q089. What is an indexer in C#? What is the difference between indexer and property? Q090. What is the difference between debug and release mode?
#CSharpInterviewQuestionsAndAnswers#CSharpInterviewQuestions2022#CSharpInterview#InterviewPreparation#InterviewQuestionsAndAnswers#techpointfundamentals#techpointfunda#techpoint
1 note
·
View note
Text
Q071. What is the difference between Sealed Class and Static Class in C#? Q072. How a sealed class is different from a class having a private constructor in C#? Q073. What is a destructor? How does it affect the garbage collection process? When should we define destructor in C#? Q074. When the destructor is called? Can you pass parameters to destructors? How many destructors can be defined in a class? Q075. What is garbage collection in C#? What are the different generations of GC? Why different GC Generations Required? Q076. What is the difference between Destructor and Finalizer in C#? Q077. What is the difference between IDisposable and Finalizer? or What is the difference between dispose and finalize method in C#? Q078. Can a static class contain a destructor? Why? Q079. What is the purpose of using statement or using block in C#? or What is the using dispose pattern? Q080. What is the use of the Checked and UnChecked keywords in C#?
#CSharpInterviewQuestionsAndAnswers#CSharpInterviewQuestions2022#CSharpInterview#InterviewPreparation#InterviewQuestionsAndAnswers#techpointfundamentals#techpointfunda#techpoint#interview#CSharp
1 note
·
View note
Text
Q061. What is the difference between boxing and unboxing in C#? Q062. What is the difference between boxing and conversion in C#? Q063. What is the difference between unboxing and casting? Q064. What is the difference between int.Parse(), int.TryParse() and Convert.ToInt32() methods? Q065. What is the difference between .ToString() and Convert.ToString() in C#? Q066. What is the difference between String.IsNullOrEmpty() and String.IsNullOrWhiteSpace() in C#? Q067. What is a sealed class in C#? Can you make the abstract class sealed? Q068. What is the sealed method in C#? How can you make any method sealed? Q069. What is the difference between the sealed method and the private method in C#? Q070. What is the difference between Sealed Class and Abstract Class in C#?
#CSharpInterviewQuestionsAndAnswers#CSharpInterviewQuestions2022#CSharpInterview#InterviewPreparation#InterviewQuestionsAndAnswers#techpointfundamentals#techpointfunda#techpoint
1 note
·
View note
Text
Q051. What is the difference between value type and reference type? Q052. What is the difference between reference type and pass-by-reference? Q053. What is the difference between OUT and REF type parameters? Q054. Can you pass a constant as a reference? Why? Q055. If a method's return type is void, can you use a return statement in the method? What is the use of the return keyword? Q056. What is a recursive method? Can you tell me any available recursive method names in C#? Q057. In C# strings are the value type or reference type? How? Q058. Enums are value type or a reference type in C#? Q059. In C#, the structure is a value type or a reference type? Q060. What is the difference between casting and conversion in C#?
#CSharpInterviewQuestionsAndAnswers#CSharpInterviewQuestions2022#CSharpInterview#InterviewPreparation#InterviewQuestionsAndAnswers#techpointfundamentals#techpointfunda
1 note
·
View note
Text
Q041. What is the difference between static class and singleton? Q042. What is the use of static class? Can you give me some real examples of static classes and static methods available in the .Net? Q043. What is a partial class in C#? What is the use of partial class, do you have any real examples? Q044. What is a partial method in C#? What is the use of partial methods? Q045. Can you give me some real examples or use of partial classes and partial methods available in the .Net? Q046. What is the difference between int and Int32 in C#? Q047. What is the difference between string and String? or What is the difference between string keyword and System.String class in C#? Q048. What is the difference between String and StringBuilder in C#? Q049. What do you understand by the term 'TypeSafe'? Is C# a typesafe language? Q050. What are Tuples in C#? What is its main use of it?
#CSharpInterviewQuestionsAndAnswers#CSharpInterviewQuestions2022#CSharpInterview#InterviewPreparation#InterviewQuestionsAndAnswers#techpointfundamentals#techpointfunda#techpoint
1 note
·
View note
Text
Q031. What is the order of constructor execution in the case of inheritance? Q032. What is the order of static constructor execution in the case of inheritance? Q033. Can two classes having different accessibility be inherited? Q034. What is the static class? Can a static class implement interface, why? Q035. What is the difference between a static class and an instance class having all members as static? Q036. Can you inherit a class in a structure in C#? Why? Q037. What is the difference between structure and class in C#? Q038. Can you define a destructor in a structure? Why? Q039. Can a structure have protected members? Why? Q040. What is the difference between static class and instance class?
#CSharpInterviewQuestionsAndAnswers#CSharpInterviewQuestions2022#CSharpInterview#InterviewPreparation#InterviewQuestionsAndAnswers#CSharp#techpointfundamentals#techpointfunda#interview#techpoint
1 note
·
View note
Text
Q021. What is the Fragile Base Class Problem (FBCP) of OOPS? How can you avoid this problem? Q022. What is an abstract class? Can an abstract class implement an interface? Q023. When do you choose interface over an abstract class or vice versa? Q024. Can you define constructors in the abstract class? What is the use of a constructor in an abstract class that can not be instantiated? Q025. Can you create the object of the abstract class? Is it mandatory to have abstract members in the abstract class? Q026. What is the difference between abstract class and interface? Q027. Does C# support multiple inheritances? Why? Q028. What is the Diamond Problem in OOPS? Q029. What is the difference between class inheritance and interface inheritance in C#? Q030. What is the difference between multiple and multilevel inheritances?
#CSharpInterviewQuestionsAndAnswers#CSharpInterviewQuestions2022#CSharpInterview#InterviewPreparation#InterviewQuestionsAndAnswers#CSharp#techpointfundamentals#techpointfunda#interview#techpoint
1 note
·
View note
Text
Q011. Can you achieve method overloading by inheritance? How? Q012. Can you overload the main() method in C#? Q013. Can you achieve method overriding without inheritance, how? Q014. What is the difference between Method Overriding and Method Hiding? Q015. We have two methods, one is returning IEnumerable results and the second one is void. Is it an example of Static Polymorphism? Q016. What is Constructor Overloading in C#? Can you overload a static constructor in C#? Q017. What is the difference between a virtual method and an abstract method? Q018. What is the difference between inheritance and composition? Why Composition is immune to Fragile Base Class Problem? Q019. How can you achieve composition with the abstract classes? Q020. What happens if the inherited interfaces have conflicting method names?
#CSharpInterviewQuestionsAndAnswers#CSharpInterviewQuestions2022#CSharpInterview#InterviewPreparation#InterviewQuestionsAndAnswers#CSharp#techpointfundamentals#techpointfunda
1 note
·
View note