If a class is a ref type, how we can pass to a function.
Answer / 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 |
What is dataadapter c#?
What is the difference between overriding and overloading in systemverilog?
What is value c#?
What are the types of comment in c# with examples?
What is a web service in c#?
Explain About .NET Remoting and types of remoting
Why ienumerable is used in c#?
Is concurrent queue thread safe?
Why do we use stringbuilder in c#?
How to find methods of a assembly file (not using ILDASM)?
What is dynamic object in c#?
About multi level and multiple inheritance how to achieve in .net ?