Click here to Skip to main content
14,774,204 members
Home » Discussions » C#
   

C#

 
GeneralRe: C# XmlDocument Encoding Pin
Samb198517-Jun-09 0:47
MemberSamb198517-Jun-09 0:47 
GeneralRe: C# XmlDocument Encoding Pin
SeMartens17-Jun-09 0:53
MemberSeMartens17-Jun-09 0:53 
GeneralRe: C# XmlDocument Encoding [modified] Pin
Samb198517-Jun-09 1:00
MemberSamb198517-Jun-09 1:00 
AnswerRe: C# XmlDocument Encoding Pin
PIEBALDconsult17-Jun-09 10:03
professionalPIEBALDconsult17-Jun-09 10:03 
GeneralRe: C# XmlDocument Encoding Pin
Samb198517-Jun-09 10:19
MemberSamb198517-Jun-09 10:19 
GeneralRe: C# XmlDocument Encoding Pin
PIEBALDconsult17-Jun-09 13:00
professionalPIEBALDconsult17-Jun-09 13:00 
QuestionAbstract Class, constructors Pin
dwadasi16-Jun-09 22:41
Memberdwadasi16-Jun-09 22:41 
AnswerRe: Abstract Class, constructors [modified] Pin
DaveyM6916-Jun-09 22:58
professionalDaveyM6916-Jun-09 22:58 
An abstract class can have implementations though.
public abstract class BaseClass
{
    protected BaseClass()
    { }

    protected BaseClass(int id)
    {
        ID = id;
    }

    public int ID
    {
        get;
        private set;
    }

    public string Text
    {
        get;
        internal set;
    }
}

public class DerivedClass : BaseClass
{
    public DerivedClass() : base() { }

    public DerivedClass(int id) : base(id) { }

    public DerivedClass(int id, string text) : base(id)
    {
        Text = text;
    }
}


[Edit] Forgot to mark the abstract class's constructors as protected[/Edit]

Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
Why are you using VB6? Do you hate yourself? (Christian Graus)

modified on Wednesday, June 17, 2009 4:57 AM

AnswerRe: Abstract Class, constructors Pin
PIEBALDconsult17-Jun-09 9:59
professionalPIEBALDconsult17-Jun-09 9:59 
Questionproblem with registering flormclosing event with button click event Pin
prasadbuddhika16-Jun-09 22:31
Memberprasadbuddhika16-Jun-09 22:31 
AnswerRe: problem with registering flormclosing event with button click event Pin
musefan16-Jun-09 22:59
Membermusefan16-Jun-09 22:59 
AnswerRe: problem with registering flormclosing event with button click event Pin
DaveyM6916-Jun-09 23:04
professionalDaveyM6916-Jun-09 23:04 
GeneralRe: problem with registering flormclosing event with button click event Pin
prasadbuddhika16-Jun-09 23:29
Memberprasadbuddhika16-Jun-09 23:29 
GeneralRe: problem with registering flormclosing event with button click event Pin
prasadbuddhika17-Jun-09 0:58
Memberprasadbuddhika17-Jun-09 0:58 
AnswerRe: problem with registering flormclosing event with button click event [modified] Pin
Alan N17-Jun-09 1:10
MemberAlan N17-Jun-09 1:10 
GeneralRe: problem with registering flormclosing event with button click event Pin
DaveyM6917-Jun-09 1:10
professionalDaveyM6917-Jun-09 1:10 
GeneralRe: problem with registering flormclosing event with button click event Pin
OriginalGriff17-Jun-09 1:12
mveOriginalGriff17-Jun-09 1:12 
QuestionHelp me iam getting stack overflow exeception , while my solution build successfully , but it threw the stack overflow error Pin
radhikasharma16-Jun-09 22:08
Memberradhikasharma16-Jun-09 22:08 
AnswerRe: Help me iam getting stack overflow exeception , while my solution build successfully , but it threw the stack overflow error Pin
Thomas Krojer16-Jun-09 22:32
MemberThomas Krojer16-Jun-09 22:32 
GeneralRe: Help me iam getting stack overflow exeception , while my solution build successfully , but it threw the stack overflow error Pin
Mirko198016-Jun-09 22:43
MemberMirko198016-Jun-09 22:43 
GeneralRe: Help me iam getting stack overflow exeception , while my solution build successfully , but it threw the stack overflow error Pin
radhikasharma16-Jun-09 23:08
Memberradhikasharma16-Jun-09 23:08 
GeneralRe: Help me iam getting stack overflow exeception , while my solution build successfully , but it threw the stack overflow error Pin
radhikasharma16-Jun-09 23:06
Memberradhikasharma16-Jun-09 23:06 
GeneralRe: Help me iam getting stack overflow exeception , while my solution build successfully , but it threw the stack overflow error Pin
Thomas Krojer16-Jun-09 23:13
MemberThomas Krojer16-Jun-09 23:13 
GeneralRe: Help me iam getting stack overflow exeception , while my solution build successfully , but it threw the stack overflow error Pin
radhikasharma17-Jun-09 1:21
Memberradhikasharma17-Jun-09 1:21 
GeneralRe: Help me iam getting stack overflow exeception , while my solution build successfully , but it threw the stack overflow error Pin
DaveyM6917-Jun-09 1:37
professionalDaveyM6917-Jun-09 1:37 

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.