DEV Community

Discussion on: Zen and Functional C#

Collapse
 
ferdeen profile image
Ferdeen Mughal

Hi Henrick, really good article, I'm going to start putting this into practice!

Also noticed the sample code 'public void PriceOfFood...' should return double.

Cheers

Collapse
 
htissink profile image
Henrick Tissink

Hi Ferdeen, I really appreciate the positive feedback, thank you so much!

And well spotted - fixed it :]

Collapse
 
ferdeen profile image
Ferdeen Mughal

No problem!

Was checking where I commented on the typo and could see a couple more void returns that should also return double. They are towards the top of the post.

Cheers!

Thread Thread
 
htissink profile image
Henrick Tissink

Oh jeez - I checked the writing for typos but not the code - thanks again :]

Thread Thread
 
ferdeen profile image
Ferdeen Mughal

No worries. It doesn't take anything away from such a good post, and I'll look forward to reading more of your work. Cheers.