Skip to content

Karol memo

IT, dev, C#, .NET, blockchain, smart contracts, advices, problems and nutshell solutions

  • Blog
  • About
  • Contact

Tag Archives: void

How to stop void method (return in void method)

This is quick blog post about stopping executing void method. So, how to stop executing void return type method? We just need to use ‘return’ statement itself, for example: If we pass 0 as first argument then we won’t get print from next line.

Posted byKarol NJuly 28, 2020July 28, 2020Posted in.NET, C#, dev, IT, programmingTags:return, voidLeave a comment on How to stop void method (return in void method)
  • Blog
  • About
  • Contact
Karol memo, Create a website or blog at WordPress.com
  • Follow Following
    • Karol memo
    • Already have a WordPress.com account? Log in now.
    • Karol memo
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar