Click here to Skip to main content
15,917,062 members
Home / Discussions / C#
   

C#

 
QuestionArchitecture Question / Circular Refs Pin
Scott Phelps17-May-06 8:32
Scott Phelps17-May-06 8:32 
AnswerRe: Architecture Question / Circular Refs Pin
Office Lineman17-May-06 8:50
Office Lineman17-May-06 8:50 
GeneralRe: Architecture Question / Circular Refs Pin
Scott Phelps17-May-06 9:12
Scott Phelps17-May-06 9:12 
GeneralRe: Architecture Question / Circular Refs Pin
Office Lineman17-May-06 11:55
Office Lineman17-May-06 11:55 
QuestionThe Server is not operational" when authenticating user to active directory Pin
krishna nimmalapudi17-May-06 7:31
krishna nimmalapudi17-May-06 7:31 
Question[DllImport] questen Pin
QzRz17-May-06 7:26
QzRz17-May-06 7:26 
AnswerRe: [DllImport] questen Pin
Office Lineman17-May-06 8:51
Office Lineman17-May-06 8:51 
AnswerRe: [DllImport] questen Pin
Sean8917-May-06 11:05
Sean8917-May-06 11:05 
GeneralRe: [DllImport] questen Pin
QzRz17-May-06 20:36
QzRz17-May-06 20:36 
Questionwindows title bar Pin
gonzalesman17-May-06 7:11
gonzalesman17-May-06 7:11 
AnswerRe: windows title bar Pin
NaNg1524117-May-06 7:47
NaNg1524117-May-06 7:47 
QuestionC# struct confusion Pin
thrakazog17-May-06 6:13
thrakazog17-May-06 6:13 
AnswerRe: C# struct confusion Pin
leppie17-May-06 8:51
leppie17-May-06 8:51 
QuestionCreate windows account (user) Pin
supercali17-May-06 6:11
supercali17-May-06 6:11 
QuestionRead/Write issues asap. Pin
DeepToot17-May-06 6:00
DeepToot17-May-06 6:00 
AnswerRe: Read/Write issues asap. Pin
Guffa17-May-06 8:18
Guffa17-May-06 8:18 
You are using += instead of = when assigning the result of the replacement to the string. That means that you are creating a new string by concatenating the original string with the replaced string.

You should do all the replacements first, then write the resulting string to the StreamWriter. If you write the string after each replacement, if the line contains more than one content holder you will be writing the line several times, and only the last one fully processed.


---
b { font-weight: normal; }

GeneralRe: Read/Write issues asap. Pin
DeepToot18-May-06 2:44
DeepToot18-May-06 2:44 
GeneralRe: Read/Write issues asap. Pin
Guffa18-May-06 7:44
Guffa18-May-06 7:44 
GeneralRe: Read/Write issues asap. Pin
DeepToot18-May-06 7:47
DeepToot18-May-06 7:47 
QuestionExcel.XlDirection problem Pin
StyleGuide17-May-06 5:56
StyleGuide17-May-06 5:56 
QuestionDate And Time Pin
| Muhammad Waqas Butt |17-May-06 5:55
professional| Muhammad Waqas Butt |17-May-06 5:55 
AnswerRe: Date And Time Pin
NaNg1524117-May-06 6:54
NaNg1524117-May-06 6:54 
AnswerRe: Date And Time Pin
NaNg1524118-May-06 2:37
NaNg1524118-May-06 2:37 
QuestionDataGridView - row height bigger than grid's height Pin
Pedro Miguel Pereira17-May-06 5:08
Pedro Miguel Pereira17-May-06 5:08 
Question2.0 gridview Pin
fmardani17-May-06 4:48
fmardani17-May-06 4:48 

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.