Click here to Skip to main content
15,798,825 members
Home / Discussions / C#
   

C#

 
GeneralRe: Can a button in a simple html-document somehow call a (clientside) C# method? Pin
jsc426-Sep-20 12:31
professionaljsc426-Sep-20 12:31 
AnswerRe: Can a button in a simple html-document somehow call a (clientside) C# method? Pin
Luc Pattyn5-Sep-20 10:29
sitebuilderLuc Pattyn5-Sep-20 10:29 
QuestionSimple C# question - Begginer's lesson, please aid. Pin
Member 149309634-Sep-20 14:32
Member 149309634-Sep-20 14:32 
AnswerRe: Simple C# question - Begginer's lesson, please aid. Pin
Mycroft Holmes4-Sep-20 16:19
professionalMycroft Holmes4-Sep-20 16:19 
GeneralRe: Simple C# question - Begginer's lesson, please aid. Pin
Member 149309634-Sep-20 16:21
Member 149309634-Sep-20 16:21 
GeneralRe: Simple C# question - Begginer's lesson, please aid. Pin
Mycroft Holmes4-Sep-20 16:57
professionalMycroft Holmes4-Sep-20 16:57 
GeneralRe: Simple C# question - Begginer's lesson, please aid. Pin
Member 149309634-Sep-20 17:56
Member 149309634-Sep-20 17:56 
AnswerRe: Simple C# question - Begginer's lesson, please aid. Pin
OriginalGriff4-Sep-20 21:07
mvaOriginalGriff4-Sep-20 21:07 
Concatenation is just one way to fix it:
C#
Console.WriteLine("Soma = " + soma);
There is also formatting:
C#
Console.WriteLine("Soma = {0}", soma);
Where "{0}" says "use the first (or zeroth since C# indexes are zero based) parameter value here".
Or interpolation:
C#
Console.WriteLine($"Soma = {soma}");
Where the "$" prefix enables interpolation, and then the "{" and "}" characters delimit the actual values to be used in the string.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!

AnswerRe: Simple C# question - Begginer's lesson, please aid. Pin
Eddy Vluggen5-Sep-20 6:27
professionalEddy Vluggen5-Sep-20 6:27 
QuestionRunning Function from Task.Run with Cancellation Token gives infinite loop Pin
Exoskeletor4-Sep-20 13:41
Exoskeletor4-Sep-20 13:41 
AnswerRe: Running Function from Task.Run with Cancellation Token gives infinite loop Pin
Gerry Schmitz5-Sep-20 5:31
mveGerry Schmitz5-Sep-20 5:31 
GeneralRe: Running Function from Task.Run with Cancellation Token gives infinite loop Pin
Exoskeletor5-Sep-20 9:25
Exoskeletor5-Sep-20 9:25 
GeneralRe: Running Function from Task.Run with Cancellation Token gives infinite loop Pin
Gerry Schmitz5-Sep-20 10:05
mveGerry Schmitz5-Sep-20 10:05 
GeneralRe: Running Function from Task.Run with Cancellation Token gives infinite loop Pin
Exoskeletor5-Sep-20 11:17
Exoskeletor5-Sep-20 11:17 
GeneralRe: Running Function from Task.Run with Cancellation Token gives infinite loop Pin
Gerry Schmitz5-Sep-20 11:38
mveGerry Schmitz5-Sep-20 11:38 
GeneralRe: Running Function from Task.Run with Cancellation Token gives infinite loop Pin
Exoskeletor5-Sep-20 11:58
Exoskeletor5-Sep-20 11:58 
Question.Net Core Windows App, using database repositories Pin
jkirkerx4-Sep-20 12:53
professionaljkirkerx4-Sep-20 12:53 
AnswerRe: .Net Core Windows App, using database repositories Pin
Mycroft Holmes4-Sep-20 13:07
professionalMycroft Holmes4-Sep-20 13:07 
GeneralRe: .Net Core Windows App, using database repositories Pin
jkirkerx4-Sep-20 14:45
professionaljkirkerx4-Sep-20 14:45 
GeneralRe: .Net Core Windows App, using database repositories Pin
Mycroft Holmes4-Sep-20 16:14
professionalMycroft Holmes4-Sep-20 16:14 
GeneralRe: .Net Core Windows App, using database repositories Pin
Gerry Schmitz5-Sep-20 5:40
mveGerry Schmitz5-Sep-20 5:40 
GeneralRe: .Net Core Windows App, using database repositories Pin
jkirkerx5-Sep-20 8:32
professionaljkirkerx5-Sep-20 8:32 
GeneralRe: .Net Core Windows App, using database repositories Pin
Gerry Schmitz5-Sep-20 9:46
mveGerry Schmitz5-Sep-20 9:46 
AnswerRe: .Net Core Windows App, using database repositories Pin
Richard Deeming6-Sep-20 23:30
mveRichard Deeming6-Sep-20 23:30 
GeneralRe: .Net Core Windows App, using database repositories Pin
jkirkerx7-Sep-20 7:58
professionaljkirkerx7-Sep-20 7:58 

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.