+923132835245
safcodeinstitute@gmail.com
Online Quiz
10000+ Questions!
Students Works
Ideas & Topics!
Live Coding
HTML & CSS
Home
(current)
About
Courses
CIT
Web Designing
Graphic Designing
Web Development
Digital Marketing
WordPress + SEO
Artificial Intelligence (AI)
Shopify + WordPress Development
Tutorials
Feedback
Programming Notes
Softwares
Contact
Test Your Programming Skills with Safcode!
Here is all important interview / exams questions.
Student doing practice apptitude test on safcode platform.
Instruction: "Total Number of Questions: 20
Each question carry 10 mark , no negative marking"
Quiz Start
1. In ____________the this keyword is required before the first argument.
Auto implemented property
Extension method
Collection initializer
Static method
View Answer
2. Which version of C# is use in visual studio 2019
5.0
8.0
7.0
6.0
View Answer
3. Which of following components of the .NET framework enable interoperability of dynamic with the .NET Framework?
Common Type System(CTS)
Dynamic Language Runtime(DLR)
Base Framework Classes
Common Language Runtime (CLR)
View Answer
4. What is the process of the concurrentDictionary
class?
None of them
Provide a threads-safe implementation of a stack
Provide a threads-safe implementation of a queue
Provide a threads-safe implementation of a dictionary of key value pairs
View Answer
5. The __________ property of the System Exception class return the Exception instance that caused the current exception.
Message
StackTrace
Source
InnerException
View Answer
6. Which interface supports simple iteration over elements of a generic collection.
IDictionary
ICollection
IList
IEnumerator
View Answer
7. CLR stands for___________
Common Language Runtime
Common Layer Runtime
Common Language Repository
C# Language Runtime
View Answer
8. Delegates ensure type safety as the return and parameter types of the delegate are the same as that of the _______ method.
referenced
anonymous
invoked
static
View Answer
9. Managing memory and verifying code safety are functionalities of ____________
Common Language Specification
.NET Framework Class Library
Common Type system
Common Language Runtime
View Answer
10. How can you enable communication between threads while synchronizing the threads?
None of them
By using synchronization events
By using Task Class
By using the Thread Pool class
View Answer