Click here to Skip to main content
15,902,112 members
Home / Discussions / C#
   

C#

 
AnswerRe: Regular Expressions Pin
dan!sh 21-Mar-09 1:09
professional dan!sh 21-Mar-09 1:09 
AnswerRe: Regular Expressions Pin
Michael Schubert21-Mar-09 2:45
Michael Schubert21-Mar-09 2:45 
AnswerRe: Regular Expressions Pin
PIEBALDconsult21-Mar-09 4:40
mvePIEBALDconsult21-Mar-09 4:40 
AnswerRe: Regular Expressions Pin
agent00zelda23-Mar-09 10:02
agent00zelda23-Mar-09 10:02 
Questionhelp me in this program Pin
Nettai20-Mar-09 22:48
Nettai20-Mar-09 22:48 
AnswerRe: help me in this program Pin
Xmen Real 20-Mar-09 23:02
professional Xmen Real 20-Mar-09 23:02 
AnswerRe: help me in this program Pin
Nettai20-Mar-09 23:40
Nettai20-Mar-09 23:40 
GeneralRe: help me in this program Pin
Xmen Real 21-Mar-09 1:30
professional Xmen Real 21-Mar-09 1:30 
nettai wrote:
..but i am getting 279 different text files with different memory sizes....

yes, if you dont mind then your code is very tacky. All you need to do is that read all lines from each text file using File.ReadAllLines() as Danish said. That will return string[] and you can rip the line by index then add to the generic string list List<string></string>. When you done, write entire list using File.WriteAllLines()(you will need to use ToArray() to get the array from list).



TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKQUFK[M`UKs*$GwU#QDXBER@CBN%
R0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i’TV.C\y<pŠjxsg-b$f4ia>

-----------------------------------------------
128 bit encrypted signature, crack if you can

AnswerRe: help me in this program Pin
dan!sh 21-Mar-09 1:21
professional dan!sh 21-Mar-09 1:21 
QuestionClient in C# Pin
mrithula820-Mar-09 21:38
mrithula820-Mar-09 21:38 
AnswerRe: Client in C# Pin
mrithula823-Mar-09 20:50
mrithula823-Mar-09 20:50 
QuestionRemote Desktop Monitoring Pin
sanju_thomas20-Mar-09 20:32
sanju_thomas20-Mar-09 20:32 
AnswerRe: Remote Desktop Monitoring Pin
Xmen Real 20-Mar-09 22:56
professional Xmen Real 20-Mar-09 22:56 
QuestionC#.windows application Problem Pin
varun.g20-Mar-09 20:22
varun.g20-Mar-09 20:22 
AnswerRe: C#.windows application Problem [modified] Pin
dan!sh 20-Mar-09 22:27
professional dan!sh 20-Mar-09 22:27 
GeneralRe: C#.windows application Problem Pin
Xmen Real 20-Mar-09 23:08
professional Xmen Real 20-Mar-09 23:08 
GeneralRe: C#.windows application Problem Pin
dan!sh 21-Mar-09 1:07
professional dan!sh 21-Mar-09 1:07 
AnswerRe: C#.windows application Problem Pin
varun.g21-Mar-09 0:27
varun.g21-Mar-09 0:27 
QuestionIdle processing Pin
saksp20-Mar-09 20:10
saksp20-Mar-09 20:10 
AnswerRe: Idle processing Pin
12Code20-Mar-09 20:30
12Code20-Mar-09 20:30 
AnswerRe: Idle processing Pin
Dominik Reichl21-Mar-09 1:40
Dominik Reichl21-Mar-09 1:40 
QuestionMedia Player Pin
Jahmelon20-Mar-09 19:44
Jahmelon20-Mar-09 19:44 
AnswerRe: Media Player Pin
N a v a n e e t h20-Mar-09 19:57
N a v a n e e t h20-Mar-09 19:57 
GeneralRe: Media Player Pin
Jahmelon20-Mar-09 20:06
Jahmelon20-Mar-09 20:06 
AnswerRe: Media Player Pin
varun.g20-Mar-09 20:21
varun.g20-Mar-09 20:21 

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.