Click here to Skip to main content
15,911,531 members
Home / Discussions / C#
   

C#

 
GeneralMaking a tray icon Pin
Otis_6930-May-04 10:42
Otis_6930-May-04 10:42 
GeneralRe: Making a tray icon Pin
Nathan Blomquist30-May-04 17:17
Nathan Blomquist30-May-04 17:17 
GeneralRe: Making a tray icon Pin
Otis_6930-May-04 17:39
Otis_6930-May-04 17:39 
GeneralRe: Making a tray icon Pin
Nathan Blomquist30-May-04 18:37
Nathan Blomquist30-May-04 18:37 
Generalhide console window Pin
Otis_6930-May-04 10:40
Otis_6930-May-04 10:40 
GeneralRe: hide console window Pin
Stefan Troschuetz30-May-04 22:18
Stefan Troschuetz30-May-04 22:18 
GeneralRe: hide console window Pin
Otis_6931-May-04 9:33
Otis_6931-May-04 9:33 
GeneralRe: hide console window Pin
Stefan Troschuetz31-May-04 10:33
Stefan Troschuetz31-May-04 10:33 
GeneralRe: hide console window Pin
Otis_6931-May-04 11:43
Otis_6931-May-04 11:43 
GeneralForce termination of a thread Pin
Otis_6930-May-04 10:17
Otis_6930-May-04 10:17 
GeneralRe: Force termination of a thread Pin
Otis_6930-May-04 15:07
Otis_6930-May-04 15:07 
GeneralRe: Force termination of a thread Pin
Otis_6930-May-04 17:41
Otis_6930-May-04 17:41 
GeneralStream to String Pin
Meysam Mahfouzi30-May-04 8:29
Meysam Mahfouzi30-May-04 8:29 
GeneralRe: Stream to String Pin
leppie30-May-04 10:10
leppie30-May-04 10:10 
QuestionHow do I Create Lable Dynamically Pin
Anonymous30-May-04 7:53
Anonymous30-May-04 7:53 
AnswerRe: How do I Create Lable Dynamically Pin
Peff30-May-04 8:30
Peff30-May-04 8:30 
GeneralRemoting with Events Pin
Wouter Van Ranst30-May-04 7:23
Wouter Van Ranst30-May-04 7:23 
GeneralRemoting with Events Pin
Wouter Van Ranst30-May-04 7:20
Wouter Van Ranst30-May-04 7:20 
GeneralRe: Remoting with Events Pin
Wackatronic1-Jun-04 10:08
Wackatronic1-Jun-04 10:08 
GeneralRe: Remoting with Events Pin
Wouter Van Ranst1-Jun-04 10:15
Wouter Van Ranst1-Jun-04 10:15 
GeneralRe: Remoting with Events Pin
Wackatronic1-Jun-04 10:18
Wackatronic1-Jun-04 10:18 
GeneralDataset Merge Pin
MrJJKoolJ30-May-04 6:59
MrJJKoolJ30-May-04 6:59 
GeneralRe: Dataset Merge Pin
Wouter Van Ranst30-May-04 7:31
Wouter Van Ranst30-May-04 7:31 
GeneralArray object Empty Pin
MrJJKoolJ30-May-04 6:02
MrJJKoolJ30-May-04 6:02 
GeneralRe: Array object Empty Pin
Colin Angus Mackay30-May-04 11:40
Colin Angus Mackay30-May-04 11:40 
MrJJKoolJ wrote:
I need to test if an Array object is empty. What's the best way to do this?

Do you mean contains no elements, or that all the elements are null?

The Length property will tell you how many elements are in an array.

If you mean the second option then you would have to iterate over the array testing for null on each element.

MrJJKoolJ wrote:
Also how do you determine if an object exists?

I don't understand this at all. If an object exists you will have a reference to it somewhere. Although, sometime objects will exist that you don't have a reference to anymore and by that time it is too late because the garbage collector will be clearing it out soon anyway.


"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar

The Second EuroCPian Event will be in Brussels on the 4th of September

Can't manage to P/Invoke that Win32 API in .NET? Why not do interop the wiki way!


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.