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 covariance and contravariance? Did Delegate and method overriding support these?
what happens if you inherit multiple interfaces and they have conflicting method names?
What is foreach loop in c#?
Why is c# used?
Does c# supports destructors?
What is the wildcard character in sql?
What’s difference between Association, Aggregation and Inheritance relationships?
What is a dictionary in c#?
What is the use of regex in c#?
why C# called C#
What Is A Satellite Assembly?
0 Answers PUCIT, Siebel Systems,
What is a thread? What is multithreading?
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)