Click here to Skip to main content
15,879,535 members
Home / Discussions / C#
   

C#

 
GeneralRe: type.GetProperties(BindingFlags.DeclaredOnly) does not work Pin
gehbitte16-Jul-09 4:42
gehbitte16-Jul-09 4:42 
QuestionGenerics and type constraints Pin
dojohansen16-Jul-09 4:04
dojohansen16-Jul-09 4:04 
AnswerRe: Generics and type constraints Pin
OriginalGriff16-Jul-09 4:13
mveOriginalGriff16-Jul-09 4:13 
GeneralRe: Generics and type constraints Pin
dojohansen16-Jul-09 5:05
dojohansen16-Jul-09 5:05 
GeneralRe: Generics and type constraints Pin
Dan Neely16-Jul-09 5:45
Dan Neely16-Jul-09 5:45 
GeneralRe: Generics and type constraints Pin
dojohansen16-Jul-09 6:35
dojohansen16-Jul-09 6:35 
GeneralRe: Generics and type constraints Pin
Dan Neely16-Jul-09 7:09
Dan Neely16-Jul-09 7:09 
AnswerRe: Generics and type constraints Pin
Gideon Engelberth16-Jul-09 7:16
Gideon Engelberth16-Jul-09 7:16 
The problem is that just because TNode derives from TreeNode<T>, they may not be the same type. This is the same reason you can't do something like:

List<Stream> list = new List<MemoryStream>();


Did you try something like this:

static public TreeNode<T>[] Add<T>(TreeNode<T> parent, params T[] data)

GeneralRe: Generics and type constraints Pin
dojohansen16-Jul-09 22:00
dojohansen16-Jul-09 22:00 
QuestionResetting Objects to startup-state Pin
chrisx5116-Jul-09 3:02
chrisx5116-Jul-09 3:02 
AnswerRe: Resetting Objects to startup-state Pin
Luc Pattyn16-Jul-09 3:24
sitebuilderLuc Pattyn16-Jul-09 3:24 
AnswerRe: Resetting Objects to startup-state Pin
dojohansen16-Jul-09 5:30
dojohansen16-Jul-09 5:30 
QuestionHow to Provide Confirmation Link to the New User in C# Pin
ChandrakanthGaddam16-Jul-09 1:35
ChandrakanthGaddam16-Jul-09 1:35 
AnswerRe: How to Provide Confirmation Link to the New User in C# Pin
Pete O'Hanlon16-Jul-09 1:57
mvePete O'Hanlon16-Jul-09 1:57 
Questionupdate progress bar concurrently in windows form Pin
Praveen Raghuvanshi16-Jul-09 1:33
professionalPraveen Raghuvanshi16-Jul-09 1:33 
AnswerRe: update progress bar concurrently in windows form Pin
monstale16-Jul-09 2:11
monstale16-Jul-09 2:11 
AnswerRe: update progress bar concurrently in windows form Pin
MumbleB16-Jul-09 2:19
MumbleB16-Jul-09 2:19 
QuestionIf statement with ? and : characters Pin
soso_online16-Jul-09 1:00
soso_online16-Jul-09 1:00 
AnswerRe: If statement with ? and : characters Pin
Tamer Oz16-Jul-09 1:13
Tamer Oz16-Jul-09 1:13 
GeneralRe: If statement with ? and : characters Pin
soso_online16-Jul-09 2:09
soso_online16-Jul-09 2:09 
AnswerRe: If statement with ? and : characters Pin
Luc Pattyn16-Jul-09 1:25
sitebuilderLuc Pattyn16-Jul-09 1:25 
GeneralRe: If statement with ? and : characters Pin
soso_online16-Jul-09 2:09
soso_online16-Jul-09 2:09 
AnswerRe: If statement with ? and : characters Pin
Pete O'Hanlon16-Jul-09 1:54
mvePete O'Hanlon16-Jul-09 1:54 
GeneralRe: If statement with ? and : characters Pin
soso_online16-Jul-09 2:08
soso_online16-Jul-09 2:08 
QuestionWindows Form Datagridview Pin
Rajeshwar Code- Developer16-Jul-09 0:58
Rajeshwar Code- Developer16-Jul-09 0:58 

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.