Search
Star
1.6k
Feedback
Setup for Free
C
C#
•
3y ago
•
10 replies
Emelie
✅ Newbie question - what exactly does return do?
If I have this piece of code
.
.
. what exactly happens when the return statement is reached
? I understand it exits the current function
, but then what is the state of the programme
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,810
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy