Click here to Skip to main content
15,909,896 members
Home / Discussions / C#
   

C#

 
AnswerRe: General Purpose Classes for Any Application Pin
Mark Churchill28-Jun-08 17:03
Mark Churchill28-Jun-08 17:03 
QuestionHow to insert code snippet Pin
Imtiaz Murtaza28-Jun-08 12:27
Imtiaz Murtaza28-Jun-08 12:27 
AnswerRe: How to insert code snippet Pin
N a v a n e e t h28-Jun-08 17:00
N a v a n e e t h28-Jun-08 17:00 
GeneralRe: How to insert code snippet Pin
Alan N29-Jun-08 2:37
Alan N29-Jun-08 2:37 
GeneralRe: How to insert code snippet Pin
N a v a n e e t h29-Jun-08 7:31
N a v a n e e t h29-Jun-08 7:31 
QuestionWhat about the other use of generic base class und generic polymorphism ? Pin
MarkPhB28-Jun-08 11:30
MarkPhB28-Jun-08 11:30 
AnswerRe: What about the other use of generic base class und generic polymorphism ? Pin
Christian Graus28-Jun-08 12:39
protectorChristian Graus28-Jun-08 12:39 
AnswerRe: What about the other use of generic base class und generic polymorphism ? [modified] Pin
Mark Churchill28-Jun-08 17:15
Mark Churchill28-Jun-08 17:15 
No, its not possible. Range< int > and Range< float > are two completely seperate types. I went through the basic reasoning in ( http://www.codeproject.com/script/Forums/View.aspx?fid=1649&msg=2612653 ) that thread.

If you do want them to inherit from a common base then make it explicit: class Range< t > : BaseRange.

I think you might be a little confused when you inherit IntRange : Range< int > - you would only need to do this if you were adding extra int specific functionality.

Edit: Damn, need to remember to add spaces for < and >


modified on Saturday, June 28, 2008 11:31 PM

GeneralRe: What about the other use of generic base class und generic polymorphism ? Pin
MarkPhB29-Jun-08 1:12
MarkPhB29-Jun-08 1:12 
GeneralRe: What about the other use of generic base class und generic polymorphism ? Pin
Mark Churchill29-Jun-08 2:44
Mark Churchill29-Jun-08 2:44 
GeneralRe: What about the other use of generic base class und generic polymorphism ? Pin
MarkPhB29-Jun-08 4:50
MarkPhB29-Jun-08 4:50 
GeneralRe: What about the other use of generic base class und generic polymorphism ? Pin
Mark Churchill29-Jun-08 12:54
Mark Churchill29-Jun-08 12:54 
GeneralRe: What about the other use of generic base class und generic polymorphism ? Pin
MarkPhB1-Jul-08 1:40
MarkPhB1-Jul-08 1:40 
Questionc# double pointer Pin
wwwxyz28-Jun-08 11:24
wwwxyz28-Jun-08 11:24 
AnswerRe: c# double pointer Pin
Luc Pattyn28-Jun-08 12:12
sitebuilderLuc Pattyn28-Jun-08 12:12 
GeneralRe: c# double pointer Pin
wwwxyz28-Jun-08 18:40
wwwxyz28-Jun-08 18:40 
AnswerRe: c# double pointer Pin
Guffa28-Jun-08 23:41
Guffa28-Jun-08 23:41 
GeneralRe: c# double pointer Pin
Luc Pattyn29-Jun-08 2:20
sitebuilderLuc Pattyn29-Jun-08 2:20 
Questionproblem to Refresh Control after it's value changed. Pin
hdv21228-Jun-08 11:16
hdv21228-Jun-08 11:16 
AnswerRe: problem to Refresh Control after it's value changed. Pin
Luc Pattyn28-Jun-08 12:15
sitebuilderLuc Pattyn28-Jun-08 12:15 
GeneralRe: problem to Refresh Control after it's value changed. Pin
hdv21228-Jun-08 23:08
hdv21228-Jun-08 23:08 
GeneralRe: problem to Refresh Control after it's value changed. Pin
Luc Pattyn29-Jun-08 2:13
sitebuilderLuc Pattyn29-Jun-08 2:13 
GeneralRe: problem to Refresh Control after it's value changed. Pin
hdv21229-Jun-08 4:50
hdv21229-Jun-08 4:50 
QuestionProblem with WebBrowser.DocumentText Pin
That Asian Guy28-Jun-08 10:43
That Asian Guy28-Jun-08 10:43 
GeneralRe: Problem with WebBrowser.DocumentText Pin
That Asian Guy28-Jun-08 12:51
That Asian Guy28-Jun-08 12:51 

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.