Click here to Skip to main content
16,005,467 members
Home / Discussions / C#
   

C#

 
AnswerRe: call a vb function with out paramaters Pin
Pete O'Hanlon16-Feb-07 4:38
mvePete O'Hanlon16-Feb-07 4:38 
GeneralRe: call a vb function with out paramaters Pin
cmarmr16-Feb-07 5:44
cmarmr16-Feb-07 5:44 
AnswerRe: call a vb function with out paramaters Pin
Thomas Stockwell16-Feb-07 6:10
professionalThomas Stockwell16-Feb-07 6:10 
AnswerRe: call a vb function with out paramaters Pin
Luc Pattyn16-Feb-07 9:43
sitebuilderLuc Pattyn16-Feb-07 9:43 
AnswerRe: call a vb function with out paramaters Pin
Dave Doknjas16-Feb-07 13:29
Dave Doknjas16-Feb-07 13:29 
QuestionString Problem Pin
VishalSharmaDev16-Feb-07 1:46
VishalSharmaDev16-Feb-07 1:46 
AnswerRe: String Problem Pin
Colin Angus Mackay16-Feb-07 2:02
Colin Angus Mackay16-Feb-07 2:02 
AnswerRe: String Problem Pin
Luc Pattyn16-Feb-07 9:32
sitebuilderLuc Pattyn16-Feb-07 9:32 
Hi,

strings are objects, just like Forms, Panels, Timers, etc.
Yes, you can create instances of them with new.

For ease of use, the compiler adds some goodies, such as (not complete!):
- you can create a new string by quoting some text, hence string s="hello"; is
a shorthand for sting s=new string(helloChars); where helloChars would be a char array
containing the right characters.
- you can use a string and a set of string constants as a switch variable and its case values
(does not work for objects in general, switch requires some integer or a string)
- you get improved performance when using string expressions (e.g. "aha"+"yep"+"waw"
will get highly optimized).
- and probably many more.

Smile | :)

Luc Pattyn

QuestionAnchor property Pin
c_jangid16-Feb-07 1:35
c_jangid16-Feb-07 1:35 
QuestionSlecting a entire line Pin
hiremath7116-Feb-07 1:19
hiremath7116-Feb-07 1:19 
AnswerRe: Slecting a entire line Pin
Colin Angus Mackay16-Feb-07 2:03
Colin Angus Mackay16-Feb-07 2:03 
GeneralRe: Slecting a entire line Pin
hiremath7118-Feb-07 18:50
hiremath7118-Feb-07 18:50 
AnswerRe: Slecting a entire line Pin
Stefan Troschuetz16-Feb-07 2:36
Stefan Troschuetz16-Feb-07 2:36 
GeneralRe: Slecting a entire line Pin
hiremath7118-Feb-07 19:17
hiremath7118-Feb-07 19:17 
GeneralRe: Slecting a entire line Pin
Stefan Troschuetz18-Feb-07 20:59
Stefan Troschuetz18-Feb-07 20:59 
GeneralRe: Slecting a entire line Pin
hiremath7119-Feb-07 18:20
hiremath7119-Feb-07 18:20 
Questionimage processing Pin
haseeb_saeed16-Feb-07 1:17
haseeb_saeed16-Feb-07 1:17 
AnswerRe: image processing Pin
Michael O.16-Feb-07 1:42
Michael O.16-Feb-07 1:42 
GeneralRe: image processing Pin
haseeb_saeed17-Feb-07 8:01
haseeb_saeed17-Feb-07 8:01 
GeneralRe: image processing Pin
Michael O.18-Feb-07 22:47
Michael O.18-Feb-07 22:47 
Questionfont Pin
debnathrubs16-Feb-07 1:16
debnathrubs16-Feb-07 1:16 
AnswerRe: font Pin
Luc Pattyn16-Feb-07 9:49
sitebuilderLuc Pattyn16-Feb-07 9:49 
QuestionBitTorrent Client .Net Library? Pin
tmp016-Feb-07 1:07
tmp016-Feb-07 1:07 
AnswerRe: BitTorrent Client .Net Library? Pin
Colin Angus Mackay16-Feb-07 2:06
Colin Angus Mackay16-Feb-07 2:06 
GeneralRe: BitTorrent Client .Net Library? Pin
Insincere Dave16-Feb-07 5:06
Insincere Dave16-Feb-07 5:06 

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.