© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
9 replies
storm_trooper232

❔ Return in the middle of a method

Is it ok?
I think that it improves readability and performance, but a professor I know argues that it makes it harder to determine the state of a program and is therefore bad practice.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Method doesnt return
C#CC# / help
3y ago
✅ How to return null in a generalized method?
C#CC# / help
4y ago
❔ Return two values from a method
C#CC# / help
3y ago
❔ Change backcolor of middle column in a grid
C#CC# / help
4y ago