Click here to Skip to main content
15,887,027 members
Home / Discussions / C#
   

C#

 
QuestionWill C# support primitive data type in Generics Pin
Gopal_Kanchana22-Jul-09 3:28
Gopal_Kanchana22-Jul-09 3:28 
AnswerRe: Will C# support primitive data type in Generics Pin
DaveyM6922-Jul-09 3:31
professionalDaveyM6922-Jul-09 3:31 
GeneralRe: Will C# support primitive data type in Generics Pin
Gopal_Kanchana22-Jul-09 3:34
Gopal_Kanchana22-Jul-09 3:34 
GeneralRe: Will C# support primitive data type in Generics Pin
DaveyM6922-Jul-09 3:44
professionalDaveyM6922-Jul-09 3:44 
AnswerRe: Will C# support primitive data type in Generics Pin
stancrm22-Jul-09 3:43
stancrm22-Jul-09 3:43 
GeneralRe: Will C# support primitive data type in Generics Pin
Gopal_Kanchana22-Jul-09 19:25
Gopal_Kanchana22-Jul-09 19:25 
AnswerRe: Will C# support primitive data type in Generics PinPopular
Daniel Grunwald22-Jul-09 4:12
Daniel Grunwald22-Jul-09 4:12 
GeneralRe: Will C# support primitive data type in Generics Pin
Luc Pattyn22-Jul-09 4:22
sitebuilderLuc Pattyn22-Jul-09 4:22 
Hi,

you might want to enumerate the acceptable types and use common features:
public class MyClass<T> where T : int, long, float, double and now perform addition.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

GeneralRe: Will C# support primitive data type in Generics Pin
Daniel Grunwald22-Jul-09 4:41
Daniel Grunwald22-Jul-09 4:41 
GeneralRe: Will C# support primitive data type in Generics Pin
Luc Pattyn22-Jul-09 4:51
sitebuilderLuc Pattyn22-Jul-09 4:51 
GeneralRe: Will C# support primitive data type in Generics Pin
PIEBALDconsult22-Jul-09 5:11
mvePIEBALDconsult22-Jul-09 5:11 
GeneralRe: Will C# support primitive data type in Generics Pin
DaveyM6922-Jul-09 5:28
professionalDaveyM6922-Jul-09 5:28 
GeneralRe: Will C# support primitive data type in Generics Pin
PIEBALDconsult22-Jul-09 6:19
mvePIEBALDconsult22-Jul-09 6:19 
QuestionSplitContainer problem Pin
lune1222-Jul-09 3:21
lune1222-Jul-09 3:21 
AnswerRe: SplitContainer problem Pin
Muhammad Mazhar22-Jul-09 3:55
Muhammad Mazhar22-Jul-09 3:55 
GeneralRe: SplitContainer problem Pin
lune1222-Jul-09 4:04
lune1222-Jul-09 4:04 
GeneralRe: SplitContainer problem Pin
Muhammad Mazhar22-Jul-09 4:22
Muhammad Mazhar22-Jul-09 4:22 
Questionhow to get datagrid previously selected column index in c#.net Pin
swetha_insoft22-Jul-09 3:14
swetha_insoft22-Jul-09 3:14 
AnswerRe: how to get datagrid previously selected column index in c#.net Pin
swetha_insoft22-Jul-09 3:18
swetha_insoft22-Jul-09 3:18 
AnswerRe: how to get datagrid previously selected column index in c#.net Pin
Muhammad Mazhar22-Jul-09 3:52
Muhammad Mazhar22-Jul-09 3:52 
QuestionTCP Window Scaling Pin
satsumatable22-Jul-09 2:16
satsumatable22-Jul-09 2:16 
AnswerRe: TCP Window Scaling Pin
led mike22-Jul-09 4:35
led mike22-Jul-09 4:35 
QuestionUser control problem in databind Pin
beesan22-Jul-09 2:05
beesan22-Jul-09 2:05 
AnswerRe: User control problem in databind Pin
Nagy Vilmos22-Jul-09 3:11
professionalNagy Vilmos22-Jul-09 3:11 
GeneralRe: User control problem in databind Pin
beesan22-Jul-09 20:09
beesan22-Jul-09 20:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.