© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
14mo ago
•
16 replies
nathanAjacobs
Declaring methods with `in` parameters
If a I
'm writing a synchronous method
, should I always declare read
-only value types with the
in
in
keyword
.
void Foo(in int i)
{
}
void Foo(in int i)
{
}
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
❔ ✅ Need help with methods and parameters
C
C# / help
3y ago
✅ Custom class arrays, parameters, custom methods.
C
C# / help
3y ago
How to run tweak methods dynamically from JSON with parameters?
C
C# / help
8mo ago
✅ Methods (with bodies) in interfaces
C
C# / help
2y ago