Click here to Skip to main content
16,005,467 members
Home / Discussions / C#
   

C#

 
GeneralRe: Plz compile Pin
WillemM11-Nov-06 6:53
WillemM11-Nov-06 6:53 
AnswerRe: Plz compile Pin
Guffa11-Nov-06 7:29
Guffa11-Nov-06 7:29 
Questiongenerics: "where T supports ==" Pin
peterchen11-Nov-06 5:42
peterchen11-Nov-06 5:42 
GeneralRe: generics: "where T supports ==" Pin
George L. Jackson11-Nov-06 6:09
George L. Jackson11-Nov-06 6:09 
GeneralRe: generics: "where T supports ==" Pin
peterchen11-Nov-06 6:37
peterchen11-Nov-06 6:37 
AnswerRe: generics: "where T supports ==" Pin
Guffa11-Nov-06 6:13
Guffa11-Nov-06 6:13 
AnswerRe: generics: "where T supports ==" Pin
Judah Gabriel Himango11-Nov-06 19:21
sponsorJudah Gabriel Himango11-Nov-06 19:21 
GeneralRe: generics: "where T supports ==" Pin
peterchen11-Nov-06 19:35
peterchen11-Nov-06 19:35 
I wanted it to work for both reference nad value types, and use overloaded comparison operators if any - but that doesn't seem possible in C#.

I've replaced the template type with object, and use IComparable if implemented, otherwise I fall back to comparing the references.

thank you.



Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers!
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
Linkify!|Fold With Us!

AnswerRe: generics: "where T supports ==" Pin
Daniel Grunwald12-Nov-06 9:46
Daniel Grunwald12-Nov-06 9:46 
QuestionRemoting & COM Programming Pin
Raihan Masud11-Nov-06 2:51
Raihan Masud11-Nov-06 2:51 
AnswerRe: Remoting & COM Programming Pin
mav.northwind11-Nov-06 20:42
mav.northwind11-Nov-06 20:42 
Questionhow can prevent page posting back Pin
m.rastgar11-Nov-06 2:21
m.rastgar11-Nov-06 2:21 
AnswerRe: how can prevent page posting back Pin
Tom Aeqy11-Nov-06 3:35
Tom Aeqy11-Nov-06 3:35 
GeneralRe: how can prevent page posting back Pin
m.rastgar11-Nov-06 21:45
m.rastgar11-Nov-06 21:45 
AnswerRe: how can prevent page posting back Pin
Guffa11-Nov-06 4:42
Guffa11-Nov-06 4:42 
GeneralRe: how can prevent page posting back Pin
m.rastgar11-Nov-06 21:42
m.rastgar11-Nov-06 21:42 
GeneralRe: how can prevent page posting back Pin
Guffa11-Nov-06 22:04
Guffa11-Nov-06 22:04 
Questionfor statement with divide sums Pin
Yustme11-Nov-06 2:19
Yustme11-Nov-06 2:19 
AnswerRe: for statement with divide sums Pin
Guffa11-Nov-06 6:19
Guffa11-Nov-06 6:19 
GeneralRe: for statement with divide sums Pin
Yustme11-Nov-06 6:38
Yustme11-Nov-06 6:38 
GeneralRe: for statement with divide sums Pin
User 665811-Nov-06 7:04
User 665811-Nov-06 7:04 
GeneralRe: for statement with divide sums Pin
Yustme11-Nov-06 7:35
Yustme11-Nov-06 7:35 
GeneralRe: for statement with divide sums Pin
User 665811-Nov-06 7:49
User 665811-Nov-06 7:49 
GeneralRe: for statement with divide sums Pin
Yustme11-Nov-06 7:51
Yustme11-Nov-06 7:51 
GeneralRe: for statement with divide sums Pin
Nougat H.11-Nov-06 10:50
Nougat H.11-Nov-06 10:50 

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.