read and not change in function, what word I type to prevent it from changes?(in C# or others)
I want to restrict parameters that enter the function, some of them are refrence(pointer) and I want it just?
const parameter_name
use const to make sure it is not changed
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment