Click here to Skip to main content
15,886,003 members
Home / Discussions / C#
   

C#

 
AnswerRe: Problem including C++ code in C# assembly Pin
Christian Graus3-Aug-06 16:31
protectorChristian Graus3-Aug-06 16:31 
QuestionCreate Combo Box In ListView in Pocket PC App. Pin
kakarato3-Aug-06 15:44
kakarato3-Aug-06 15:44 
QuestionFree Database for .NET Pin
Tyler453-Aug-06 15:22
Tyler453-Aug-06 15:22 
AnswerRe: Free Database for .NET Pin
Furty3-Aug-06 15:49
Furty3-Aug-06 15:49 
QuestionRe: Free Database for .NET Pin
Tyler453-Aug-06 15:53
Tyler453-Aug-06 15:53 
AnswerRe: Free Database for .NET Pin
Furty3-Aug-06 15:58
Furty3-Aug-06 15:58 
AnswerRe: Free Database for .NET Pin
Tyler453-Aug-06 16:01
Tyler453-Aug-06 16:01 
QuestionSimple(?) Generics question [modified] Pin
Furty3-Aug-06 15:10
Furty3-Aug-06 15:10 
Any ideas what I'm really meant to be doing in the lines marked as "won't compile" below?

<br />
using System;<br />
<br />
namespace Test<br />
{<br />
    public class MyClass : GenericsTest<<MyClass>><br />
    {<br />
        public void DoSomething()<br />
        {<br />
            base.DoSomething();<br />
        }<br />
    }<br />
<br />
    public class GenericsTest<<T>> where T : class<br />
    {<br />
        SomeHelperClass<<T>> helper;<br />
<br />
        public GenericsTest()<br />
        {<br />
            helper = new SomeHelperClass<<T>>();<br />
        }<br />
<br />
        public void DoSomething()<br />
        {<br />
            helper.DoSomething(T); // won't compile<br />
            helper.DoSomething(this); // won't compile<br />
        }<br />
    }<br />
<br />
    public class SomeHelperClass<<T>> where T : class<br />
    {<br />
        public void DoSomething(T target)<br />
        {<br />
        }<br />
    }<br />
}<br />


TIA!



-- modified at 21:11 Thursday 3rd August, 2006

Bah, the lt's and gt's get nuked when posting - just imagine the double lt's and gt's are actually single..


-- modified at 21:12 Thursday 3rd August, 2006
AnswerRe: Simple(?) Generics question Pin
Christian Graus3-Aug-06 16:33
protectorChristian Graus3-Aug-06 16:33 
AnswerRe: Simple(?) Generics question Pin
leppie3-Aug-06 21:34
leppie3-Aug-06 21:34 
Questionprinting forms Pin
TWatson473-Aug-06 12:56
TWatson473-Aug-06 12:56 
AnswerRe: printing forms Pin
Not Active3-Aug-06 14:37
mentorNot Active3-Aug-06 14:37 
GeneralRe: printing forms Pin
TWatson474-Aug-06 4:50
TWatson474-Aug-06 4:50 
GeneralRe: printing forms Pin
Not Active4-Aug-06 6:01
mentorNot Active4-Aug-06 6:01 
AnswerRe: printing forms Pin
Vipin Venugopal3-Aug-06 17:53
Vipin Venugopal3-Aug-06 17:53 
GeneralRe: printing forms Pin
Not Active4-Aug-06 6:00
mentorNot Active4-Aug-06 6:00 
QuestionRegistry saving Vs. XML Saving Pin
Saamir3-Aug-06 11:59
Saamir3-Aug-06 11:59 
AnswerRe: Registry saving Vs. XML Saving Pin
eggie53-Aug-06 14:00
eggie53-Aug-06 14:00 
Questiona question about datagridview ? Pin
cmpeng343-Aug-06 11:35
cmpeng343-Aug-06 11:35 
AnswerRe: a question about datagridview ? Pin
AB77713-Aug-06 19:04
AB77713-Aug-06 19:04 
Questionhow to fill the user/pass fields in the popUp window of the HTACCESS from c# [modified] Pin
vedmack3-Aug-06 11:11
vedmack3-Aug-06 11:11 
QuestionDropdown Buttons Pin
SoftcodeSoftware3-Aug-06 11:03
SoftcodeSoftware3-Aug-06 11:03 
AnswerRe: Dropdown Buttons Pin
Thomas Stockwell7-Aug-06 12:51
professionalThomas Stockwell7-Aug-06 12:51 
QuestionB&W Image filter Pin
Rogenator3-Aug-06 9:40
Rogenator3-Aug-06 9:40 
AnswerRe: B&W Image filter Pin
Ennis Ray Lynch, Jr.3-Aug-06 9:48
Ennis Ray Lynch, Jr.3-Aug-06 9:48 

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.