Click here to Skip to main content
16,011,374 members
Home / Discussions / C#
   

C#

 
AnswerRe: mynamespace.App app = new mynamespace.App() Pin
Abhinav S17-Jan-10 22:37
Abhinav S17-Jan-10 22:37 
GeneralRe: mynamespace.App app = new mynamespace.App() Pin
V.18-Jan-10 19:48
professionalV.18-Jan-10 19:48 
Questionc# string operation Pin
AndieDu17-Jan-10 18:14
AndieDu17-Jan-10 18:14 
AnswerRe: c# string operation Pin
Sagar Khairnar 5517-Jan-10 19:04
professionalSagar Khairnar 5517-Jan-10 19:04 
AnswerRe: c# string operation Pin
PIEBALDconsult17-Jan-10 19:05
mvePIEBALDconsult17-Jan-10 19:05 
GeneralRe: c# string operation Pin
AndieDu17-Jan-10 19:11
AndieDu17-Jan-10 19:11 
GeneralRe: c# string operation Pin
Abhinav S17-Jan-10 20:29
Abhinav S17-Jan-10 20:29 
GeneralRe: c# string operation Pin
OriginalGriff17-Jan-10 21:55
mveOriginalGriff17-Jan-10 21:55 
Abhinav S wrote:
Without using trim - locate the last space in a string and then use substring to get the rest of the string. And repeat...

Otherwise it just removes the final space, unlike TrimEnd which removes them all. Except it also removes trailing tab characters.

A better solution might be:
Regex.Replace(s, @"[\s]*$", "")
Which does the lot for you.

All those who believe in psycho kinesis, raise my hand.

AnswerRe: c# string operation Pin
OriginalGriff17-Jan-10 21:56
mveOriginalGriff17-Jan-10 21:56 
GeneralRe: c# string operation Pin
AndieDu17-Jan-10 23:01
AndieDu17-Jan-10 23:01 
AnswerRe: c# string operation Pin
theOzLizard17-Jan-10 22:13
theOzLizard17-Jan-10 22:13 
GeneralRe: c# string operation Pin
OriginalGriff17-Jan-10 23:31
mveOriginalGriff17-Jan-10 23:31 
GeneralRe: c# string operation Pin
theOzLizard18-Jan-10 8:43
theOzLizard18-Jan-10 8:43 
GeneralRe: c# string operation Pin
PIEBALDconsult18-Jan-10 16:18
mvePIEBALDconsult18-Jan-10 16:18 
GeneralRe: c# string operation Pin
theOzLizard18-Jan-10 18:07
theOzLizard18-Jan-10 18:07 
AnswerRe: c# string operation Pin
dan!sh 17-Jan-10 23:45
professional dan!sh 17-Jan-10 23:45 
GeneralRe: c# string operation Pin
OriginalGriff18-Jan-10 0:20
mveOriginalGriff18-Jan-10 0:20 
GeneralRe: c# string operation Pin
dan!sh 18-Jan-10 0:49
professional dan!sh 18-Jan-10 0:49 
GeneralRe: c# string operation Pin
OriginalGriff18-Jan-10 1:21
mveOriginalGriff18-Jan-10 1:21 
GeneralRe: c# string operation Pin
dan!sh 18-Jan-10 3:57
professional dan!sh 18-Jan-10 3:57 
QuestionIs Anybody Can Help me Write an example of multicast use c# Thinks a lot ! Pin
SrhLj17-Jan-10 18:03
SrhLj17-Jan-10 18:03 
AnswerRe: Is Anybody Can Help me Write an example of multicast use c# Thinks a lot ! Pin
Garth J Lancaster17-Jan-10 18:57
professionalGarth J Lancaster17-Jan-10 18:57 
Questionhow to create a wrapper for r com server in C#, which involves R programming and its integration with C# . What is meant by a Rcom Wrapper??? Pin
scorpio2217-Jan-10 17:06
scorpio2217-Jan-10 17:06 
Questionneed direction to get started on app. To monitor dial-up internet Pin
Argus217-Jan-10 13:09
Argus217-Jan-10 13:09 
AnswerRe: need direction to get started on app. To monitor dial-up internet Pin
Harvey Saayman17-Jan-10 21:28
Harvey Saayman17-Jan-10 21:28 

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.