Click here to Skip to main content
15,896,453 members
Home / Discussions / C#
   

C#

 
Generalcollection question Pin
isittheweekendyet18-Oct-04 14:16
isittheweekendyet18-Oct-04 14:16 
GeneralRe: collection question Pin
Nick Parker18-Oct-04 15:16
protectorNick Parker18-Oct-04 15:16 
GeneralRe: collection question Pin
sreejith ss nair18-Oct-04 19:40
sreejith ss nair18-Oct-04 19:40 
Generalpassing a function name as a paramter Pin
njaromack18-Oct-04 12:34
njaromack18-Oct-04 12:34 
GeneralRe: passing a function name as a paramter Pin
S Sansanwal18-Oct-04 13:25
S Sansanwal18-Oct-04 13:25 
GeneralRe: passing a function name as a paramter Pin
njaromack19-Oct-04 4:36
njaromack19-Oct-04 4:36 
Questionstring ctor?? Pin
HahnTech18-Oct-04 12:33
HahnTech18-Oct-04 12:33 
AnswerRe: string ctor?? Pin
Nick Parker18-Oct-04 15:29
protectorNick Parker18-Oct-04 15:29 
I'm not entirely sure why this really matters to you, however if you look through the documentation you will see there are a series of different parameters that the String class can take as a parameter for its constructor. You could do the following (if you wanted that is):

string s = new string("Hello".ToCharArray());


The string class is a reference type, so remember it's important to check for a null value, but otherwise just use the assignment operator, which is how the majority of people tend to use it.

string s = "Hello";


- Nick Parker
My Blog | My Articles

GeneralRe: string ctor?? Pin
HahnTech18-Oct-04 16:28
HahnTech18-Oct-04 16:28 
GeneralRe: string ctor?? Pin
Nick Parker18-Oct-04 18:08
protectorNick Parker18-Oct-04 18:08 
Questionhow to make list in property grid? Pin
AlanJones18-Oct-04 11:10
AlanJones18-Oct-04 11:10 
AnswerRe: how to make list in property grid? Pin
Heath Stewart18-Oct-04 11:46
protectorHeath Stewart18-Oct-04 11:46 
GeneralRe: how to make list in property grid? Pin
AlanJones19-Oct-04 10:01
AlanJones19-Oct-04 10:01 
GeneralRe: how to make list in property grid? Pin
Heath Stewart19-Oct-04 11:07
protectorHeath Stewart19-Oct-04 11:07 
GeneralRe: how to make list in property grid? Pin
AlanJones23-Oct-04 13:00
AlanJones23-Oct-04 13:00 
GeneralUsing SignatureCapturing in PocketPc Pin
mathon18-Oct-04 10:26
mathon18-Oct-04 10:26 
GeneralRe: Using SignatureCapturing in PocketPc Pin
Nick Parker18-Oct-04 15:37
protectorNick Parker18-Oct-04 15:37 
GeneralDataGrid Set Column Width Pin
mfcuser18-Oct-04 10:03
mfcuser18-Oct-04 10:03 
GeneralRe: DataGrid Set Column Width Pin
Heath Stewart18-Oct-04 11:53
protectorHeath Stewart18-Oct-04 11:53 
GeneralRe: DataGrid Set Column Width Pin
mfcuser19-Oct-04 8:03
mfcuser19-Oct-04 8:03 
GeneralRe: DataGrid Set Column Width Pin
Heath Stewart19-Oct-04 12:44
protectorHeath Stewart19-Oct-04 12:44 
GeneralText on Image control Pin
JAntonaccio18-Oct-04 9:31
JAntonaccio18-Oct-04 9:31 
GeneralRe: Text on Image control Pin
Heath Stewart18-Oct-04 11:50
protectorHeath Stewart18-Oct-04 11:50 
GeneralNtier app Pin
StephenMcAllister18-Oct-04 7:55
StephenMcAllister18-Oct-04 7:55 
GeneralRe: Ntier app Pin
Christian Graus18-Oct-04 10:08
protectorChristian Graus18-Oct-04 10:08 

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.