Martindb
Martindb
CC#
Created by heftymouse on 10/10/2023 in #help
✅ CoTaskMemFree on a buffer returned by CsWin32
$ask
14 replies
CC#
Created by Martindb on 10/7/2023 in #help
Compiler doesn't work properly
Infers , all right noted 🙂
35 replies
CC#
Created by Martindb on 10/7/2023 in #help
Compiler doesn't work properly
Because var inherits the data type from which is assigned to ?
35 replies
CC#
Created by Martindb on 10/7/2023 in #help
Compiler doesn't work properly
So the declaration of the decimal type happens twice, left for the human readability and on the right for the compiler to process it correctly ?
35 replies
CC#
Created by Martindb on 10/7/2023 in #help
Compiler doesn't work properly
Good to know
35 replies
CC#
Created by Martindb on 10/7/2023 in #help
Compiler doesn't work properly
In my variable declaration is the added m required since i'm already declaring a decimal type ?
35 replies
CC#
Created by Martindb on 10/7/2023 in #help
Compiler doesn't work properly
Thanks
35 replies
CC#
Created by Martindb on 10/7/2023 in #help
Compiler doesn't work properly
Awesome
35 replies
CC#
Created by Martindb on 10/7/2023 in #help
Compiler doesn't work properly
How is this ?, Removed the blank space at the end as mentioned by @Pobiega and the parentheses with the variable declaration @SinFluxx
//Declaration of variables
string firstName = "Bob";
int number = 3;
decimal temperature = 34.4M;

//Console command
Console.WriteLine($"Hello, {firstName}! You have {number} messages in your inbox. The temperature is {temperature} celsius.");
//Declaration of variables
string firstName = "Bob";
int number = 3;
decimal temperature = 34.4M;

//Console command
Console.WriteLine($"Hello, {firstName}! You have {number} messages in your inbox. The temperature is {temperature} celsius.");
35 replies
CC#
Created by Martindb on 10/7/2023 in #help
Compiler doesn't work properly
String interpolation if I understood correctly 🙂
35 replies
CC#
Created by Martindb on 10/7/2023 in #help
Compiler doesn't work properly
//Declaration of variables
string firstName = ("Bob");
int number = (3);
decimal temperature = (34.4M);

//Console command
Console.Write($"Hello, {firstName}! You have {number} messages in your inbox. The temperature is {temperature} celsius. ");
//Declaration of variables
string firstName = ("Bob");
int number = (3);
decimal temperature = (34.4M);

//Console command
Console.Write($"Hello, {firstName}! You have {number} messages in your inbox. The temperature is {temperature} celsius. ");
35 replies
CC#
Created by Martindb on 10/7/2023 in #help
Compiler doesn't work properly
Thanks everyone for the feedback 🙂
35 replies
CC#
Created by Martindb on 10/7/2023 in #help
Compiler doesn't work properly
Sure will do, sorry for that I could have thought of that myself 😅
35 replies
CC#
Created by Martindb on 10/7/2023 in #help
Compiler doesn't work properly
Sorry i’m not sure what you mean with String interpolation…
35 replies