Dot Net Point
Sunday, 3 May 2015
What is “ref” keyword in C#
Passing variables by value is the default. However, we can force the value parameter to be passed by reference.
Point to be kept in mind while using ref keyword.
variable “must” be initialized before it is passed into a method.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment