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 implement multiple inheritance in .NET?
what is work of continue statement in C#?
what is IFormatable
What do you know about device context?
Is string immutable in c#?
Difference between multi-level and multiple inheritance?
What is using in c#?
What are value types and reference types?
Write a program in c# to find the angle between the hours and minutes in a clock?
What is type checking in c#?
I was trying to use an out int parameter in one of my functions. How should I declare the variable that I am passing to it?
What is a must for multitasking
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)