Click here to Skip to main content
15,895,606 members
Home / Discussions / C#
   

C#

 
GeneralRe: object scope and destruction Pin
Dave Kreskowiak16-Apr-04 6:56
mveDave Kreskowiak16-Apr-04 6:56 
GeneralRe: object scope and destruction Pin
poolboy16-Apr-04 7:31
poolboy16-Apr-04 7:31 
GeneralRe: object scope and destruction Pin
Heath Stewart16-Apr-04 7:49
protectorHeath Stewart16-Apr-04 7:49 
GeneralRe: object scope and destruction Pin
Dave Kreskowiak16-Apr-04 8:16
mveDave Kreskowiak16-Apr-04 8:16 
GeneralRe: object scope and destruction Pin
scadaguy16-Apr-04 7:49
scadaguy16-Apr-04 7:49 
GeneralRe: object scope and destruction Pin
PaleyX26-May-04 11:03
PaleyX26-May-04 11:03 
Questionsystem string size? Pin
Anonymous16-Apr-04 6:24
Anonymous16-Apr-04 6:24 
AnswerRe: system string size? Pin
Heath Stewart16-Apr-04 6:29
protectorHeath Stewart16-Apr-04 6:29 
What do you mean the "system string"? You can use String.Length on a string instance to get how many characters there are. Internally strings are stored as Unicode, so there'll be 2 bytes per character. You can use the Encoding class to convert the encoding of the string, and can marshal these to unmanaged code by using the appropriate UnmanagedType enumeration member with the MarshalAsAttribute on parameters and fields. The TextInfo class may also be useful to enumerate code points within the string.

 

Microsoft MVP, Visual C#
My Articles
AnswerRe: system string size? Pin
Jeroen Landheer16-Apr-04 10:34
Jeroen Landheer16-Apr-04 10:34 
Generaltab control slow Pin
robmays16-Apr-04 5:47
robmays16-Apr-04 5:47 
GeneralRe: tab control slow Pin
Heath Stewart16-Apr-04 5:51
protectorHeath Stewart16-Apr-04 5:51 
GeneralRe: tab control slow Pin
robmays16-Apr-04 5:57
robmays16-Apr-04 5:57 
GeneralRe: tab control slow Pin
Heath Stewart16-Apr-04 6:00
protectorHeath Stewart16-Apr-04 6:00 
GeneralRe: tab control slow Pin
robmays16-Apr-04 5:52
robmays16-Apr-04 5:52 
GeneralImplementing Security in C# Through Any Hardware Pin
Hemant Mane16-Apr-04 5:30
Hemant Mane16-Apr-04 5:30 
GeneralRe: Implementing Security in C# Through Any Hardware Pin
Heath Stewart16-Apr-04 6:26
protectorHeath Stewart16-Apr-04 6:26 
GeneralRe: Implementing Security in C# Through Any Hardware Pin
partyganger16-Apr-04 10:57
partyganger16-Apr-04 10:57 
Generalthe Form stop to respond Pin
bouli16-Apr-04 4:32
bouli16-Apr-04 4:32 
GeneralRe: the Form stop to respond Pin
Heath Stewart16-Apr-04 6:31
protectorHeath Stewart16-Apr-04 6:31 
GeneralRe: the Form stop to respond Pin
bouli16-Apr-04 12:05
bouli16-Apr-04 12:05 
GeneralMessage Removed Pin
16-Apr-04 6:47
wibblewibblewibble16-Apr-04 6:47 
GeneralRe: the Form stop to respond Pin
bouli16-Apr-04 12:04
bouli16-Apr-04 12:04 
GeneralPainting Dynamic Objects Pin
TimTM16-Apr-04 4:22
TimTM16-Apr-04 4:22 
GeneralRe: Painting Dynamic Objects Pin
Heath Stewart16-Apr-04 6:35
protectorHeath Stewart16-Apr-04 6:35 
GeneralSourceSafe and References to COM Objects Pin
Andy Wieberneit16-Apr-04 3:50
Andy Wieberneit16-Apr-04 3:50 

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.