If a class is a ref type, how we can pass to a function.
Answer Posted / sujai cn
We can pass the object to a function by pass by reference
type.
create an object and pass that object to the function.
when we pass the object to function a copy constructor is
used to create a bit wise copy of the object sent to the
function.If there is no copy constructor implemented the
default copy constructor is called.
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What do you mean by jagged arrays in c#?
What does this keyword mean in c#?
What is get set in c#?
What is difference between sleep () and wait ()?
Why is ienumerable used?
What is the console on a mac?
How are delegates chosen?
What is the difference between method parameters and method arguments. Give an example?
What is wcf c#?
Why do we overload constructors?
Why to use lock statement in c#?
Assembly Code. in Rejester AL. How do Contast Replece( or Change): Bit D3 With Bit D4 and Bit D2 With Bit D5 and Bit D1 With Bit D6 and Bit D0 With Bit D7 I am Not Know Very Well Write English.
Can we use "this" command within a static method?
what are the Disadvantages of vb
the c# keyword .int. Maps to which .net type?