Correct Answer: class SampleClass<T> where T : class { }class SampleClass<T> where T : struct { }
Explanation:
Note: This Question is unanswered, help us to find answer for this one
DotNet Using C# Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More DotNet Using C# MCQ Questions
Which one applies to interface inheritance?
Which one is NOT part of an assembly?
Which are true about operator precedence?
Which are defined as a 'token'?
Which one is NOT a valid C# preprocessor directive?
Which goals of Windows Communication Foundation?
When using an implicitly typed array, which is most appropriate?
To which of the following do automatic properties refer?
Which is not an unboxing conversion?
class Sample { public Sample(int x) { } } In the above code, which of the following other class constructors can directly access the provided constructor?