Click here to Skip to main content
15,888,286 members
Home / Discussions / C#
   

C#

 
QuestionActive directory Question Pin
caiena10-Jun-09 11:12
caiena10-Jun-09 11:12 
AnswerRe: Active directory Question Pin
Leonscape10-Jun-09 11:29
Leonscape10-Jun-09 11:29 
AnswerRe: Active directory Question Pin
saurabh sahay10-Jun-09 12:12
saurabh sahay10-Jun-09 12:12 
GeneralRe: Active directory Question Pin
Dave Kreskowiak10-Jun-09 17:14
mveDave Kreskowiak10-Jun-09 17:14 
QuestionType declaration ? Pin
daveyerwin10-Jun-09 9:55
daveyerwin10-Jun-09 9:55 
AnswerRe: Type declaration ? Pin
0x3c010-Jun-09 10:12
0x3c010-Jun-09 10:12 
AnswerRe: Type declaration ? Pin
Leonscape10-Jun-09 11:20
Leonscape10-Jun-09 11:20 
AnswerRe: Type declaration ? Pin
Luc Pattyn10-Jun-09 11:20
sitebuilderLuc Pattyn10-Jun-09 11:20 
Hi,

1.
you could concentrate on the ToString() method which exists for all objects; you should override for most types since for most classes ToString() by default returns a type string.

2.
you should NOT check types by getting the type's name, then string.compare.
C# has the is keyword which returns true when the type matches (directly or through inheritance).

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

QuestionC# need some direction Pin
marksmit10-Jun-09 8:48
marksmit10-Jun-09 8:48 
AnswerRe: C# need some direction Pin
Henry Minute10-Jun-09 8:58
Henry Minute10-Jun-09 8:58 
AnswerRe: C# need some direction Pin
Christian Graus10-Jun-09 9:04
protectorChristian Graus10-Jun-09 9:04 
AnswerRe: C# need some direction Pin
sgenie6810-Jun-09 17:16
sgenie6810-Jun-09 17:16 
GeneralThanks guys! Pin
marksmit11-Jun-09 4:53
marksmit11-Jun-09 4:53 
QuestionThoroughly confused now :) Pin
marksmit11-Jun-09 5:49
marksmit11-Jun-09 5:49 
Question[Message Deleted] Pin
hkjghkj110-Jun-09 8:28
hkjghkj110-Jun-09 8:28 
AnswerRe: parallel sounds Pin
Christian Graus10-Jun-09 8:44
protectorChristian Graus10-Jun-09 8:44 
Questionif statement troubles Pin
partialdata10-Jun-09 6:54
partialdata10-Jun-09 6:54 
GeneralRe: if statement troubles Pin
harold aptroot10-Jun-09 7:14
harold aptroot10-Jun-09 7:14 
GeneralRe: if statement troubles Pin
partialdata10-Jun-09 8:04
partialdata10-Jun-09 8:04 
AnswerRe: if statement troubles Pin
Luc Pattyn10-Jun-09 7:25
sitebuilderLuc Pattyn10-Jun-09 7:25 
GeneralRe: if statement troubles Pin
partialdata10-Jun-09 8:17
partialdata10-Jun-09 8:17 
GeneralRe: if statement troubles Pin
Luc Pattyn10-Jun-09 8:28
sitebuilderLuc Pattyn10-Jun-09 8:28 
GeneralRe: if statement troubles Pin
partialdata10-Jun-09 8:48
partialdata10-Jun-09 8:48 
Questiondeserialization of object and then populating form Pin
ThorTheBraveGod10-Jun-09 6:13
ThorTheBraveGod10-Jun-09 6:13 
AnswerRe: deserialization of object and then populating form Pin
Ennis Ray Lynch, Jr.10-Jun-09 6:31
Ennis Ray Lynch, Jr.10-Jun-09 6:31 

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.