Skip to content

out and ref keywords in C#

1 post1 contributor

+ FollowBe the first to follow this
Write about it

Everything about out and ref keywords in C#

  1. Work with "out" and "ref" keywords in C#

    The out and ref keyword look quite similar in nature. Both parameters are used to return back some value to the caller of the function. But still there is a small but important difference between them. Both of the parameter type has been kept in the C# language for specific scenario.

    Akshay TeotiaAkshay Teotia158,2151,000Article