Click here to Skip to main content
15,173,340 members
Home / Discussions / C#
   

C#

 
AnswerRe: I want to make 2 Process Synchronization in C# with Mutex Pin
Richard Deeming24-Nov-21 22:31
mveRichard Deeming24-Nov-21 22:31 
QuestionSource of Integral Calculation Program Using Random Numbers Generation (Kaufman) Pin
Anvar Vaezi23-Nov-21 2:40
MemberAnvar Vaezi23-Nov-21 2:40 
AnswerRe: Source of Integral Calculation Program Using Random Numbers Generation (Kaufman) Pin
OriginalGriff23-Nov-21 4:21
mveOriginalGriff23-Nov-21 4:21 
QuestionFinding Lost Handle Pin
michaelbarb22-Nov-21 9:33
Membermichaelbarb22-Nov-21 9:33 
AnswerRe: Finding Lost Handle Pin
Gerry Schmitz22-Nov-21 10:17
mveGerry Schmitz22-Nov-21 10:17 
QuestionC# How to use place holder in string variable Pin
Mou_kol18-Nov-21 6:34
MemberMou_kol18-Nov-21 6:34 
AnswerRe: C# How to use place holder in string variable Pin
Mou_kol18-Nov-21 6:53
MemberMou_kol18-Nov-21 6:53 
AnswerRe: C# How to use place holder in string variable Pin
phil.o18-Nov-21 13:33
mvephil.o18-Nov-21 13:33 
You are confused with string modifiers. You are using the verbatim string modifier (@), which allows you to avoid having to escape special characters (no double-antislash, for example).
But you need the interpolated-string modifier, $.
C#
private string Replacement(string value1, string value2)
{
   return $"IF(AND(ISNUMBER({value1}),{value2}>0,NOT(ISERROR({value1}/{value2}))),{value1}/{value2}-1,"""")";
}

"Five fruits and vegetables a day? What a joke!
Personally, after the third watermelon, I'm full."

GeneralRe: C# How to use place holder in string variable Pin
Mou_kol19-Nov-21 5:03
MemberMou_kol19-Nov-21 5:03 
AnswerRe: C# How to use place holder in string variable Pin
BillWoodruff19-Nov-21 18:00
mveBillWoodruff19-Nov-21 18:00 
GeneralRe: C# How to use place holder in string variable Pin
Mou_kol16-Dec-21 7:31
MemberMou_kol16-Dec-21 7:31 
GeneralRe: C# How to use place holder in string variable Pin
Mou_kol16-Dec-21 7:32
MemberMou_kol16-Dec-21 7:32 
QuestionAsp.net web api(GET) to pull the records(8 lac records) Pin
Sai Kumar18-Nov-21 5:43
MemberSai Kumar18-Nov-21 5:43 
AnswerRe: Asp.net web api(GET) to pull the records(8 lac records) Pin
Richard Deeming18-Nov-21 5:47
mveRichard Deeming18-Nov-21 5:47 
GeneralRe: Asp.net web api(GET) to pull the records(8 lac records) Pin
Sai Kumar18-Nov-21 6:06
MemberSai Kumar18-Nov-21 6:06 
GeneralRe: Asp.net web api(GET) to pull the records(8 lac records) Pin
Richard Deeming18-Nov-21 6:24
mveRichard Deeming18-Nov-21 6:24 
GeneralRe: Asp.net web api(GET) to pull the records(8 lac records) Pin
Sai Kumar18-Nov-21 6:38
MemberSai Kumar18-Nov-21 6:38 
QuestionTrouble using Canon's EDSDK in VS on mac Pin
Member 1543145718-Nov-21 5:19
MemberMember 1543145718-Nov-21 5:19 
AnswerRe: Trouble using Canon's EDSDK in VS on mac Pin
Luc Pattyn18-Nov-21 5:55
sitebuilderLuc Pattyn18-Nov-21 5:55 
QuestionC sharp Picturebox linking error Pin
ÖmürTokman9-Nov-21 0:05
MemberÖmürTokman9-Nov-21 0:05 
AnswerRe: C sharp Picturebox linking error Pin
OriginalGriff9-Nov-21 0:27
mveOriginalGriff9-Nov-21 0:27 
GeneralRe: C sharp Picturebox linking error Pin
ÖmürTokman9-Nov-21 1:09
MemberÖmürTokman9-Nov-21 1:09 
GeneralRe: C sharp Picturebox linking error Pin
OriginalGriff9-Nov-21 1:17
mveOriginalGriff9-Nov-21 1:17 
AnswerRe: C sharp Picturebox linking error Pin
Richard MacCutchan9-Nov-21 0:39
mveRichard MacCutchan9-Nov-21 0:39 
GeneralRe: C sharp Picturebox linking error Pin
ÖmürTokman9-Nov-21 1:13
MemberÖmürTokman9-Nov-21 1:13 

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.