Click here to Skip to main content
15,559,667 members
Home / Discussions / C#
   

C#

 
QuestionReliable COM Port Communication Pin
Member 1495533221-Oct-22 2:36
Member 1495533221-Oct-22 2:36 
QuestionSimple Snake Game - Snake Head is not moving after ReadKey() Pin
Programmable Physics20-Oct-22 1:12
Programmable Physics20-Oct-22 1:12 
AnswerRe: Simple Snake Game - Snake Head is not moving after ReadKey() Pin
jsc4220-Oct-22 1:23
professionaljsc4220-Oct-22 1:23 
Questionget string from if statement in c# Pin
Sycho AN19-Oct-22 12:04
Sycho AN19-Oct-22 12:04 
AnswerRe: get string from if statement in c# Pin
OriginalGriff19-Oct-22 12:32
mveOriginalGriff19-Oct-22 12:32 
GeneralRe: get string from if statement in c# Pin
Sycho AN19-Oct-22 13:24
Sycho AN19-Oct-22 13:24 
GeneralRe: get string from if statement in c# Pin
Dave Kreskowiak19-Oct-22 13:33
mveDave Kreskowiak19-Oct-22 13:33 
AnswerRe: get string from if statement in c# Pin
Gerry Schmitz19-Oct-22 15:10
mveGerry Schmitz19-Oct-22 15:10 
string1.Replace("1", "11");

... didn't work because .Replace "returns" a string; it doesn't "update" one.
string1 = string1.Replace("1", "11");

... would have gotten you further. Same applies to other "value" types like DateTime when it comes to adding days, etc.


"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

AnswerRe: get string from if statement in c# Pin
Pete O'Hanlon21-Oct-22 9:20
mvaPete O'Hanlon21-Oct-22 9:20 
QuestionHow to know if 2 ASCII created lines in a command prompt has the same length? Pin
Programmable Physics18-Oct-22 3:19
Programmable Physics18-Oct-22 3:19 
AnswerRe: How to know if 2 ASCII created lines in a command prompt has the same length? Pin
Richard Deeming18-Oct-22 3:35
mveRichard Deeming18-Oct-22 3:35 
AnswerRe: How to know if 2 ASCII created lines in a command prompt has the same length? Pin
OriginalGriff18-Oct-22 4:19
mveOriginalGriff18-Oct-22 4:19 
QuestionAccessControl for Domain Users Pin
ormonds17-Oct-22 19:11
ormonds17-Oct-22 19:11 
AnswerRe: AccessControl for Domain Users Pin
Richard Deeming17-Oct-22 23:11
mveRichard Deeming17-Oct-22 23:11 
GeneralRe: AccessControl for Domain Users Pin
ormonds18-Oct-22 13:40
ormonds18-Oct-22 13:40 
QuestionI am using rdlc report and report viewer control.When i export the rdlc report to pdf the words written in hindi are not correctly displayed in the pdf. Pin
Member 1315824617-Oct-22 0:14
Member 1315824617-Oct-22 0:14 
AnswerRe: I am using rdlc report and report viewer control.When i export the rdlc report to pdf the words written in hindi are not correctly displayed in the pdf. Pin
Richard Deeming17-Oct-22 0:24
mveRichard Deeming17-Oct-22 0:24 
QuestionPreventing an exception from happening when converting to bool Pin
Member 1552753010-Oct-22 4:40
Member 1552753010-Oct-22 4:40 
AnswerRe: Preventing an exception from happening when converting to bool Pin
dan!sh 10-Oct-22 4:51
professional dan!sh 10-Oct-22 4:51 
AnswerRe: Preventing an exception from happening when converting to bool Pin
Richard MacCutchan10-Oct-22 5:07
mveRichard MacCutchan10-Oct-22 5:07 
AnswerRe: Preventing an exception from happening when converting to bool Pin
Eddy Vluggen13-Oct-22 3:29
professionalEddy Vluggen13-Oct-22 3:29 
AnswerRe: Preventing an exception from happening when converting to bool Pin
Raphael Adeniji18-Oct-22 2:15
Raphael Adeniji18-Oct-22 2:15 
GeneralRe: Preventing an exception from happening when converting to bool Pin
Richard Andrew x6431-Oct-22 14:38
professionalRichard Andrew x6431-Oct-22 14:38 
QuestionDragging an item from listBox1 and droping the item into listBox2 code does not work(AllowDrop=true) Pin
Programmable Physics7-Oct-22 2:15
Programmable Physics7-Oct-22 2:15 
AnswerRe: Dragging an item from listBox1 and droping the item into listBox2 code does not work(AllowDrop=true) Pin
OriginalGriff7-Oct-22 2:49
mveOriginalGriff7-Oct-22 2:49 

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.