Click here to Skip to main content
15,898,222 members
Home / Discussions / C#
   

C#

 
GeneralRe: Intermittent paint problem Pin
Super Lloyd7-Jul-09 1:22
Super Lloyd7-Jul-09 1:22 
AnswerRe: Intermittent paint problem Pin
Christian Graus7-Jul-09 1:10
protectorChristian Graus7-Jul-09 1:10 
GeneralRe: Intermittent paint problem Pin
Super Lloyd7-Jul-09 1:24
Super Lloyd7-Jul-09 1:24 
Questionhow can i read mail programmatically bu C# Pin
khosnur6-Jul-09 23:10
khosnur6-Jul-09 23:10 
AnswerRe: how can i read mail programmatically bu C# Pin
Mycroft Holmes6-Jul-09 23:16
professionalMycroft Holmes6-Jul-09 23:16 
QuestionHow to search a perticular item in the ListView, the ListVIew is in details mode Pin
Murlai6-Jul-09 22:38
Murlai6-Jul-09 22:38 
AnswerRe: How to search a perticular item in the ListView, the ListVIew is in details mode Pin
Henry Minute6-Jul-09 22:58
Henry Minute6-Jul-09 22:58 
QuestionStream XML to HttpWebRequest Pin
007_Stu6-Jul-09 22:16
007_Stu6-Jul-09 22:16 
QuestionGetting data from dyamic generated DataGridView in another form Pin
runli6-Jul-09 21:21
runli6-Jul-09 21:21 
AnswerRe: Getting data from dyamic generated DataGridView in another form Pin
dan!sh 6-Jul-09 22:34
professional dan!sh 6-Jul-09 22:34 
GeneralRe: Getting data from dyamic generated DataGridView in another form Pin
runli6-Jul-09 23:58
runli6-Jul-09 23:58 
QuestionReplace numbers after the . with other numbers Pin
ksaw1236-Jul-09 20:52
ksaw1236-Jul-09 20:52 
AnswerRe: Replace numbers after the . with other numbers Pin
0x3c06-Jul-09 20:59
0x3c06-Jul-09 20:59 
GeneralRe: Replace numbers after the . with other numbers Pin
ksaw1236-Jul-09 22:24
ksaw1236-Jul-09 22:24 
AnswerRe: Replace numbers after the . with other numbers Pin
dan!sh 6-Jul-09 22:31
professional dan!sh 6-Jul-09 22:31 
Is this a CSV file?

I would say use File.ReadAllLines and then use Regular Expressions to find the decimal numbers. Then using the Matches collection you can replace digits.

You can also use String.Replace method alone to do this.
GeneralRe: Replace numbers after the . with other numbers Pin
ksaw1236-Jul-09 23:27
ksaw1236-Jul-09 23:27 
GeneralRe: Replace numbers after the . with other numbers Pin
dan!sh 6-Jul-09 23:50
professional dan!sh 6-Jul-09 23:50 
GeneralRe: Replace numbers after the . with other numbers Pin
himanshu25617-Jul-09 0:15
himanshu25617-Jul-09 0:15 
GeneralRe: Replace numbers after the . with other numbers Pin
OriginalGriff7-Jul-09 0:20
mveOriginalGriff7-Jul-09 0:20 
GeneralRe: Replace numbers after the . with other numbers Pin
Alan N7-Jul-09 0:01
Alan N7-Jul-09 0:01 
GeneralRe: Replace numbers after the . with other numbers [modified] Pin
Pete O'Hanlon7-Jul-09 0:19
mvePete O'Hanlon7-Jul-09 0:19 
GeneralRe: Replace numbers after the . with other numbers Pin
dan!sh 7-Jul-09 0:32
professional dan!sh 7-Jul-09 0:32 
GeneralRe: Replace numbers after the . with other numbers Pin
Pete O'Hanlon7-Jul-09 0:46
mvePete O'Hanlon7-Jul-09 0:46 
GeneralRe: Replace numbers after the . with other numbers Pin
OriginalGriff7-Jul-09 1:40
mveOriginalGriff7-Jul-09 1:40 
GeneralRe: Replace numbers after the . with other numbers Pin
Pete O'Hanlon7-Jul-09 1:53
mvePete O'Hanlon7-Jul-09 1:53 

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.