+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
Enroll Now
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. Which operator can be used to compare two values?
<=
<>
==
=
View Answer
2. Delegates ensure type safety as the return and parameter types of the delegate are the same as that of the _______ method.
invoked
static
anonymous
referenced
View Answer
3. Which of the following code declares the delegate Calculation with the returns type and the parameter types as integer.
public delegate int Calculation(int numOne, int numTwo);
delegate Calculation (int numOne, int numTwo);
public delegate Calculation(int numOne, int numTwo);
delegate int Calculation (int numOne, int numTwo);
View Answer
4. Which version of C# is use in visual studio 2019
6.0
8.0
7.0
5.0
View Answer
5. Which property can be used to find the length of a string?
Length
getlength()
length()
textlength()
View Answer
6. What is the process of the concurrentDictionary
class?
Provide a threads-safe implementation of a stack
Provide a threads-safe implementation of a dictionary of key value pairs
None of them
Provide a threads-safe implementation of a queue
View Answer
7. Managing memory and verifying code safety are functionalities of ____________
Common Type system
Common Language Runtime
Common Language Specification
.NET Framework Class Library
View Answer
8. In C#, _____________are created using delegates.
None of these
Exceptions
Threads
Events
View Answer
9. An________ method is an inline nameless block of code that can be passed as a delegate parameter.
anonymous
named
unnamed
partial
View Answer
10. The __________ method is used to add the dependent cache item.
Chache.Save()
Cache.Add()
Cache.Remove()
Cache.Insert()
View Answer