Comments on: C# Methods https://code-maze.com/csharp-methods/ Learn. Code. Succeed. Wed, 18 Jan 2023 08:22:55 +0000 hourly 1 https://wordpress.org/?v=6.7.5 By: Marinko Spasojević https://code-maze.com/csharp-methods/#comment-7391 Wed, 18 Jan 2023 08:22:55 +0000 https://code-maze.com/?p=4313#comment-7391 In reply to Deepak.

Hi Deepak. I agree 100% with you on this. I’ve added an extra sentence mentioning that. If you don’t see it, just CTRL+F5. Thank you for the suggestion.

]]>
By: Deepak https://code-maze.com/csharp-methods/#comment-7389 Wed, 18 Jan 2023 03:10:45 +0000 https://code-maze.com/?p=4313#comment-7389 I think its worth to mention here that optional parameter must appear after all required parameters!

]]>
By: Marinko https://code-maze.com/csharp-methods/#comment-1669 Sat, 07 Dec 2019 07:45:32 +0000 https://code-maze.com/?p=4313#comment-1669 In reply to VytautasV.

Hello. I completely agree. What I wanted to explain is that you must have the return type while creating a method. Thus it injects it self into a signiture. But as I said, I understand your point and I will make it clearer in the article. Thanks for that suggestion. And thanks for the all caps 😀

]]>
By: VytautasV https://code-maze.com/csharp-methods/#comment-1668 Sat, 07 Dec 2019 07:27:06 +0000 https://code-maze.com/?p=4313#comment-1668 return type IS NOT part of method signature. return type + method signature = method specification

]]>