Click here to Skip to main content
   

C#

 
GeneralRe: How to convert string to Datetime including milliseconds PinmemberBobJanova11-Nov-12 23:10 
Questionhow to sort Datalist using Dropdown which is not in the datalist control Pinmembersreerajsn1237-Nov-12 22:19 
Questiondatagridview child rows Pinmembermynamearan7-Nov-12 21:18 
AnswerRe: datagridview child rows PinmentorWayne Gaylard7-Nov-12 22:14 
GeneralRe: datagridview child rows PinmemberMycroft Holmes7-Nov-12 23:08 
GeneralRe: datagridview child rows PinmentorWayne Gaylard7-Nov-12 23:32 
QuestionC# linq to sql default problem Pinmembersc steinhayse7-Nov-12 13:57 
AnswerRe: C# linq to sql default problem PinmemberMycroft Holmes7-Nov-12 14:12 
GeneralRe: C# linq to sql default problem Pinmembersc steinhayse7-Nov-12 19:14 
GeneralRe: C# linq to sql default problem PinmemberMycroft Holmes7-Nov-12 19:26 
AnswerRe: C# linq to sql default problem Pinmemberjschell8-Nov-12 9:49 
QuestionReplicate a class from an assempli and add a new constructor PinmemberTheGermoz7-Nov-12 12:45 
AnswerRe: Replicate a class from an assempli and add a new constructor PinmemberMycroft Holmes7-Nov-12 14:07 
AnswerRe: Replicate a class from an assempli and add a new constructor PinmentorDaveyM697-Nov-12 19:42 
If the class is a class (and not a struct) and isn't sealed then you can inherit from it:
public class YourClass : OriginalClass
{
    // Recreate the constructors as they aren't inherited
    public YourClass(...) : base(...)
    { }
 
    // Add whatever you want...
}
If it's a struct or a sealed class then you will need to create a wrapper and replicate all the constructors/properties/methods etc you require:
public WrapperClass
{
    private WrappedType value;
 
    public WrapperClass(...)
    {
        value = new WrappedType(...);
    }
 
    public void DoSomething()
    {
        value.DoSomething();
    }
 
    // Add whatever you want...
}
Dave

Binging is like googling, it just feels dirtier.
Please take your VB.NET out of our nice case sensitive forum.
Astonish us. Be exceptional. (Pete O'Hanlon)

BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)



GeneralRe: Replicate a class from an assempli and add a new constructor PinmemberTheGermoz7-Nov-12 23:41 
GeneralRe: Replicate a class from an assempli and add a new constructor PinmentorDaveyM698-Nov-12 19:39 
GeneralRe: Replicate a class from an assempli and add a new constructor PinmemberAndy4118-Nov-12 21:53 
QuestionHow to structure my application PinmemberASOSEA7-Nov-12 2:11 
AnswerRe: How to structure my application PinprotectorPete O'Hanlon7-Nov-12 2:34 
GeneralRe: How to structure my application PinmemberASOSEA7-Nov-12 3:53 
AnswerRe: How to structure my application PinmemberMycroft Holmes7-Nov-12 12:34 
QuestionConvert PPT to image Pinmemberer.neelkamal7-Nov-12 1:54 
Questionhow to report the single record into crystal report Pinmembersri apple6-Nov-12 21:02 
AnswerRe: how to report the single record into crystal report PinmemberMycroft Holmes6-Nov-12 23:23 
QuestionSocket performance Pinmemberdevvvy6-Nov-12 17:54 
QuestionRe: Socket performance PinmvpRichard MacCutchan6-Nov-12 22:44 
AnswerRe: Socket performance Pinmemberdevvvy6-Nov-12 23:12 
GeneralRe: Socket performance PinmvpRichard MacCutchan6-Nov-12 23:28 
GeneralRe: Socket performance Pinmemberdevvvy7-Nov-12 16:27 
GeneralRe: Socket performance PinmvpRichard MacCutchan7-Nov-12 22:29 
GeneralRe: Socket performance Pinmemberdevvvy7-Nov-12 23:18 
GeneralRe: Socket performance PinprotectorPete O'Hanlon7-Nov-12 23:26 
GeneralRe: Socket performance Pinmemberdevvvy7-Nov-12 23:29 
GeneralRe: Socket performance PinmvpRichard MacCutchan8-Nov-12 1:05 
AnswerRe: Socket performance PinmvpDave Kreskowiak7-Nov-12 3:17 
GeneralRe: Socket performance Pinmemberdevvvy7-Nov-12 16:24 
GeneralRe: Socket performance PinmvpDave Kreskowiak8-Nov-12 2:41 
GeneralRe: Socket performance Pinmemberdevvvy8-Nov-12 14:35 
GeneralRe: Socket performance PinmvpDave Kreskowiak8-Nov-12 15:46 
GeneralRe: Socket performance Pinmemberdevvvy8-Nov-12 15:52 
AnswerRe: Socket performance Pinmemberjschell7-Nov-12 8:53 
GeneralRe: Socket performance Pinmemberdevvvy7-Nov-12 16:25 
GeneralRe: Socket performance Pinmemberjschell8-Nov-12 9:06 
GeneralRe: Socket performance Pinmemberdevvvy8-Nov-12 14:34 
QuestionMicrosoft Reports and Page Break insertion. Pinmemberminnie mouse6-Nov-12 10:19 
QuestionUsing same class name from different assembly PinmemberTheGermoz6-Nov-12 10:16 
AnswerRe: Using same class name from different assembly PinmemberEddy Vluggen6-Nov-12 10:21 
GeneralRe: Using same class name from different assembly PinmemberTheGermoz6-Nov-12 10:34 
AnswerRe: Using same class name from different assembly Pinmemberminnie mouse6-Nov-12 10:39 
GeneralRe: Using same class name from different assembly PinmemberTheGermoz6-Nov-12 19:23 

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

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


Advertise | Privacy | Mobile
Web04 | 2.8.150224.1 | Last Updated 28 Feb 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid