C# : How to force LINQ Sum() to return 0 while source collection is empty
C# : How to force LINQ Sum() to return 0 while source collection is empty
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"
So here is a secret hidden feature I promissed to tell you.
This is a YouTube's feature which works on Desktop.
First, Ensure that the video is playing before proceeding.
Then, type the letters 'awesome' on the keyboard.
The progress bar on YouTube will be altered to a flashing rainbow.
A short overview of who I am,
Greetings, my name is Delphi.
I am here to provide you with assistance in answering your questions.
C# : How to force LINQ Sum() to return 0 while source collection is empty
Please don't hesitate to let me know if you have more specific queries by commenting or chatting with me.
Your input is valuable, so please comment below if you have an answer or any insights to the answer.
I will express my appreciation for your answer by 'hearting' it.
Sum() collection : while force to 0 to return is C# How empty LINQ source