Click here to Skip to main content
16,006,065 members
Home / Discussions / C#
   

C#

 
QuestionAbout the new keyword Pin
Loophole25-Jan-07 21:29
Loophole25-Jan-07 21:29 
AnswerRe: About the new keyword Pin
Martin#25-Jan-07 21:44
Martin#25-Jan-07 21:44 
GeneralRe: About the new keyword Pin
Loophole26-Jan-07 1:22
Loophole26-Jan-07 1:22 
AnswerRe: About the new keyword Pin
ShermansLagoon25-Jan-07 21:47
ShermansLagoon25-Jan-07 21:47 
JokeRe: About the new keyword Pin
Martin#25-Jan-07 21:59
Martin#25-Jan-07 21:59 
GeneralRe: About the new keyword Pin
Loophole26-Jan-07 1:19
Loophole26-Jan-07 1:19 
GeneralRe: About the new keyword Pin
ShermansLagoon26-Jan-07 4:49
ShermansLagoon26-Jan-07 4:49 
AnswerRe: About the new keyword Pin
Christian Graus25-Jan-07 23:05
protectorChristian Graus25-Jan-07 23:05 
Loophole wrote:
And if I do need to use the new keyword there, does it just leave the old object hanging out there to be cleaned up by the CLR later?

Yes, and if you do this and the object has a Dispose method, you should call that first.

Loophole wrote:
command = OdbcCommand(newStatement, connection);

You obviously still need the 'new' keyword in this instance.



Christian Graus - C++ MVP

'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert

Questionhow to open single form? Pin
Sanjib Raj25-Jan-07 20:34
Sanjib Raj25-Jan-07 20:34 
AnswerRe: how to open single form? Pin
mihksoft25-Jan-07 20:50
mihksoft25-Jan-07 20:50 
AnswerRe: how to open single form? Pin
Martin#25-Jan-07 20:54
Martin#25-Jan-07 20:54 
GeneralRe: how to open single form? Pin
Sanjib Raj25-Jan-07 22:02
Sanjib Raj25-Jan-07 22:02 
GeneralRe: how to open single form? Pin
Martin#25-Jan-07 22:16
Martin#25-Jan-07 22:16 
AnswerRe: how to open single form? Pin
Luc Pattyn26-Jan-07 0:03
sitebuilderLuc Pattyn26-Jan-07 0:03 
QuestionSuggetion needed about StreamWriter Class Pin
Saira Tanwir25-Jan-07 20:15
Saira Tanwir25-Jan-07 20:15 
AnswerRe: Suggetion needed about StreamWriter Class Pin
bobsugar22225-Jan-07 21:32
bobsugar22225-Jan-07 21:32 
GeneralRe: Suggetion needed about StreamWriter Class Pin
Saira Tanwir25-Jan-07 22:03
Saira Tanwir25-Jan-07 22:03 
GeneralRe: Suggetion needed about StreamWriter Class Pin
bobsugar22225-Jan-07 22:13
bobsugar22225-Jan-07 22:13 
GeneralRe: Suggetion needed about StreamWriter Class Pin
Saira Tanwir25-Jan-07 22:27
Saira Tanwir25-Jan-07 22:27 
GeneralRe: Suggetion needed about StreamWriter Class [modified] Pin
bobsugar22225-Jan-07 22:56
bobsugar22225-Jan-07 22:56 
GeneralRe: Suggetion needed about StreamWriter Class Pin
Saira Tanwir25-Jan-07 23:00
Saira Tanwir25-Jan-07 23:00 
QuestionCount of Listbox values Pin
fahiemulleh25-Jan-07 19:50
fahiemulleh25-Jan-07 19:50 
AnswerRe: Count of Listbox values Pin
Martin#25-Jan-07 19:59
Martin#25-Jan-07 19:59 
Questionthe marked read only fields show above the Data Grid , can anyone teach me how to correct this , thanks very much ! Pin
cchmark25-Jan-07 18:46
cchmark25-Jan-07 18:46 
QuestionArgument issues Pin
Saira Tanwir25-Jan-07 17:36
Saira Tanwir25-Jan-07 17:36 

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.