What is the difference between ref & out parameters?
Answers were Sorted based on User's Feedback
Answer / padam
An argument passed as ref must be initialized before passing
to the method whereas out parameter needs not to be
initialized before passing to a method.
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / satya
ref keyword is used while passing the parameters by reference.
out keyword is used while passing the parameters by out
| Is This Answer Correct ? | 0 Yes | 1 No |
Can you allow class to be inherited, but prevent the method from being over-ridden?
Explain the feature of c# language?
Is Multiple-inheritance supported by c#?
Explain jagged arrays in c#?
Why do we need static in c#?
Can scriptable objects have methods?
What is piller of OOPS in C#.
One start and stop button is there and one textbox is there.when you click start button ,it will display 1,2,3......up to infinite in textbox.when you click stop button it will stop.
Why to use “finally” block in c#?
What does the dispose method do with the connection object?
What is data hiding in c#?
Are arraylist faster or arrays?
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)