Buy Questpond's video subscriptions on
huge discount
.
Online: 668
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Interviews
>
.NET Framework
>
Loading ...
You are creating a generic class that should work only with value types. Which type constraint should you add?
Posted by
Rajkatie
on 8/30/2013 | Category:
.NET Framework Interview questions
| Views: 3470 |
Points: 40
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Select from following answers:
Where T : class
Where T : struct
Where T : new()
All Above
Struct constrain the class to be used with a value type, not a reference type.
Show Correct Answer
Source:
microsoft exam(C#) | |
Alert Moderator
Bookmark It
< Previous :
You pass a integer type variable into a method as ...
Next > :
Your present code contains lots of if..else statem ...
Comments or Responses
Login to post response
More Interview Questions by Rajkatie
Your present code contains lots of if..else statement for checks null ...
You need to iterate over a collection (of string data Type). You need ...
You are developing web application using Task parallel library concept ...
You are developing an ASP.NET application that retrieves data from usi ...
You are developing web application using linq to sql as data access te ...
You are developing large desktop application which have a lot of class ...
Your are developing asp.net application which require attribute add to ...
Your developed asp.net application contains master page named ProductM ...
Latest Interview Questions
How to import Excel into Sql table by using Store Procedure?
How to Delete the Duplicate values in sql table?
Why can't you open a new browser window from within server code?
What is the main difference between the Button server control and the ...
List the EmpNo,EName,Sal Daily Sal of all Emps in the ascending order ...
write a query the name ends with 'i' using sql server?
write a query name starts with 's' using sql server?
write a query allow only 4 characters in name column using sql server?
More ...