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 signature c#?
Hello.. This is kali prasad. i wish to learn C#. kindly guide me in making me expert in c#.
Can property be private in c#?
What is delegates and events?
What is a generic in c#?
What is difference between property and variable in c#?
Explain the use of virtual, sealed, override, and abstract method?
What is entity framework in c#?
Use of Checked and UnChecked operators?
How to add a readonly property in c#.net
List down the differences between “dispose” and “finalize” methods in c#.
What is iqueryable in linq?
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)