What is the difference between ref & out parameters?
Answer Posted / 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 |
Post New Answer View All Answers
How do you escape in c#?
How many types of methods are there in c#?
What is argument in c#?
what are pointer types in c#
Why do we need properties in c#?
What is tryparse?
Explain “static” keyword in c#?
What are the types of methods in c#?
What is iformatprovider in c#?
What is Garbage Collection in .Net?
Describe an interface class?
What is visual c# net?
If you donot specify an access modifier for a method, what is the default access modifier?
What language do desktop applications use?
What is the difference between gettype and typeof in c#?