Click here to Skip to main content
15,902,198 members
Home / Discussions / C#
   

C#

 
GeneralRe: GPS data via Bluetooth (com port communication) Pin
pxp29-Jun-04 21:57
pxp29-Jun-04 21:57 
GeneralRe: GPS data via Bluetooth (com port communication) Pin
stanlyB2329-Jun-04 23:50
sussstanlyB2329-Jun-04 23:50 
GeneralRe: GPS data via Bluetooth (com port communication) Pin
pxp30-Jun-04 0:01
pxp30-Jun-04 0:01 
GeneralEncryption problems Pin
Not Active29-Jun-04 10:25
mentorNot Active29-Jun-04 10:25 
GeneralRe: Encryption problems Pin
Heath Stewart29-Jun-04 14:11
protectorHeath Stewart29-Jun-04 14:11 
GeneralRe: Encryption problems Pin
Not Active29-Jun-04 16:16
mentorNot Active29-Jun-04 16:16 
GeneralCystal Report Chart questions-C# Winforms using cystal report Pin
Anonymous29-Jun-04 9:40
Anonymous29-Jun-04 9:40 
QuestionC# missing anonymous classes? Pin
vista2729-Jun-04 8:39
vista2729-Jun-04 8:39 
so i finally came across a situation today that i thought would be ideal if i were able to implement an anonymous class on the fly like you can in java. by default, ComboBoxes use the ToString() method as the listed label when you add an item to it. So if you create a new object, add it to the comboBox, it will be listed as a "System.Object". What I wanted to do was to simply add an object for only one purpose, to list itself as "ALL". So I created a class just so I can override the ToString() to return "ALL" and passed it into the Items.Add(). it would have been nice to do it like in java like so:

ComboBox.Items.Add(new object(){
public override string ToString(){
return "ALL";
}
})

but u can't do that in C#. Smile | :)

any comments?

AnswerRe: C# missing anonymous classes? Pin
Judah Gabriel Himango29-Jun-04 8:49
sponsorJudah Gabriel Himango29-Jun-04 8:49 
GeneralRe: C# missing anonymous classes? Pin
vista2729-Jun-04 9:22
vista2729-Jun-04 9:22 
GeneralRe: C# missing anonymous classes? Pin
Judah Gabriel Himango29-Jun-04 9:45
sponsorJudah Gabriel Himango29-Jun-04 9:45 
AnswerRe: C# missing anonymous classes? Pin
Heath Stewart29-Jun-04 9:05
protectorHeath Stewart29-Jun-04 9:05 
Generalmemcmp in C# Pin
BrcKcc29-Jun-04 8:29
BrcKcc29-Jun-04 8:29 
GeneralRe: memcmp in C# Pin
Heath Stewart29-Jun-04 9:45
protectorHeath Stewart29-Jun-04 9:45 
GeneralRe: memcmp in C# Pin
BrcKcc29-Jun-04 9:54
BrcKcc29-Jun-04 9:54 
GeneralRe: memcmp in C# Pin
Werdna30-Jun-04 5:53
Werdna30-Jun-04 5:53 
GeneralRe: memcmp in C# Pin
BrcKcc30-Jun-04 6:24
BrcKcc30-Jun-04 6:24 
GeneralRe: memcmp in C# Pin
Werdna30-Jun-04 6:47
Werdna30-Jun-04 6:47 
GeneralRe: memcmp in C# Pin
BrcKcc30-Jun-04 7:02
BrcKcc30-Jun-04 7:02 
QuestionWhats an RVA ? Pin
Peter Vertes29-Jun-04 8:27
Peter Vertes29-Jun-04 8:27 
AnswerRe: Whats an RVA ? Pin
Peter Vertes29-Jun-04 8:33
Peter Vertes29-Jun-04 8:33 
AnswerRe: Whats an RVA ? Pin
Heath Stewart29-Jun-04 9:49
protectorHeath Stewart29-Jun-04 9:49 
GeneralRe: Whats an RVA ? Pin
Peter Vertes29-Jun-04 10:28
Peter Vertes29-Jun-04 10:28 
GeneralTwo problems with MDI Pin
Metzler29-Jun-04 7:11
Metzler29-Jun-04 7:11 
GeneralUsing DataBinding with a user control Pin
Brett Slaski29-Jun-04 6:39
Brett Slaski29-Jun-04 6:39 

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.