What’s that keyword: ref

When you call a method and pass a value as an input parameter, you might do something with that parameter. For example you have an integer type variable called myNum, that is 10. int myNum = 10; You have a simple method like this: