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 |
How do you generate documentation from the C# file commented properly with a command-line compiler?
What is interface c#?
What is meant by desktop application?
What is the difference between field and property in c#?
Why is aws serverless?
Can we inherit sealed class in c#?
an object,class is value type or refarance type. ?
What is bit in c#?
Can a class inherit structure.
Can you instantiate an abstract class c#?
What does the keyword virtual mean in the method definition?
3 Answers Ipog Software, Satyam, Visual Soft,
What is the difference between final finally and finalize in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)