What is IN type parameter in C#? How does it differ from OUT and REF type parameter in C#?
Rajanikant Hawaldar
Select an image from your device to upload
Ref and out keywords in C# are used to pass arguments within a method or function. Both indicate that an argument/parameter is passed by reference. By default parameters are passed to a method by value. By using these keywords (ref and out) we can pass a parameter by reference.