Click here to Skip to main content
15,891,316 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# Windows Application as Trial Version Package Pin
AB777113-Dec-05 22:27
AB777113-Dec-05 22:27 
QuestionConnecting two system with web service Pin
MelaOS8-Dec-05 20:46
MelaOS8-Dec-05 20:46 
QuestionValidate Controls? Pin
MudkiSekhon8-Dec-05 20:40
MudkiSekhon8-Dec-05 20:40 
AnswerRe: Validate Controls? Pin
Polis Pilavas8-Dec-05 22:51
Polis Pilavas8-Dec-05 22:51 
QuestionRead data from foxpro 2.6 Pin
ltxuan8-Dec-05 20:26
ltxuan8-Dec-05 20:26 
Questionmy html mail is in correct format at mailroot queue but when send to receipent it is in text format Pin
sreesiri8-Dec-05 20:23
sreesiri8-Dec-05 20:23 
Questiontrying not to use typeof(...) with this generic Pin
FocusedWolf8-Dec-05 18:49
FocusedWolf8-Dec-05 18:49 
AnswerRe: trying not to use typeof(...) with this generic Pin
Nick Hounsome8-Dec-05 21:52
Nick Hounsome8-Dec-05 21:52 
The more I see of generics the less I like them!

As I understand it - typeof(T) == typeof(object) here for all T!

Even an out parameter wouldn't be ideal as it could be null - you would want a ref so that GetType() is gauranteed OK.

Alternatively just create a temporary T and call GetType on it - there must be a no-parameter ctor or XmlSerializer cannot deserialize anyway so you can put a new() constraint on T.

Note that you should make xmlSerializer static and create it in a static initializer because creation of a serializer is very time consuming.
GeneralRe: trying not to use typeof(...) with this generic Pin
FocusedWolf9-Dec-05 16:10
FocusedWolf9-Dec-05 16:10 
Questionapi DLL for audio shutdown/reset pc Pin
denpsia8-Dec-05 18:31
denpsia8-Dec-05 18:31 
AnswerRe: api DLL for audio shutdown/reset pc:doh: Pin
tatchung8-Dec-05 18:37
tatchung8-Dec-05 18:37 
GeneralRe: api DLL for audio shutdown/reset pc:doh: Pin
denpsia8-Dec-05 18:42
denpsia8-Dec-05 18:42 
GeneralRe: api DLL for audio shutdown/reset pc:doh: Pin
Dave Kreskowiak9-Dec-05 3:27
mveDave Kreskowiak9-Dec-05 3:27 
AnswerRe: api DLL for audio shutdown/reset pc Pin
Dave Kreskowiak9-Dec-05 3:31
mveDave Kreskowiak9-Dec-05 3:31 
GeneralRe: api DLL for audio shutdown/reset pc Pin
denpsia11-Dec-05 13:09
denpsia11-Dec-05 13:09 
GeneralRe: api DLL for audio shutdown/reset pc Pin
Dave Kreskowiak11-Dec-05 15:16
mveDave Kreskowiak11-Dec-05 15:16 
GeneralRe: api DLL for audio shutdown/reset pc Pin
denpsia11-Dec-05 18:12
denpsia11-Dec-05 18:12 
GeneralRe: api DLL for audio shutdown/reset pc Pin
Dave Kreskowiak12-Dec-05 12:10
mveDave Kreskowiak12-Dec-05 12:10 
QuestionThread Newbie: Cannot access other thread Pin
2hdass8-Dec-05 17:59
2hdass8-Dec-05 17:59 
AnswerRe: Thread Newbie: Cannot access other thread Pin
mikanu8-Dec-05 19:20
mikanu8-Dec-05 19:20 
AnswerRe: Thread Newbie: Cannot access other thread Pin
Nick Hounsome8-Dec-05 22:01
Nick Hounsome8-Dec-05 22:01 
QuestionC#,which Release version is better for downloading NAnt build tool? Pin
sridevi20058-Dec-05 17:50
sridevi20058-Dec-05 17:50 
QuestionWebBrowser not receiving Keystrokes Pin
Arun Appukuttan8-Dec-05 17:25
Arun Appukuttan8-Dec-05 17:25 
QuestionFormatting the data Pin
Winds8-Dec-05 15:53
Winds8-Dec-05 15:53 
QuestionPage Orientation Pin
tatchung8-Dec-05 15:26
tatchung8-Dec-05 15:26 

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.