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
Why do we need dependency injection in c#?
What is response redirect in c#?
Can we inherit singleton class in c#?
Explain data types in c#?
Differentiate between method overriding from method overloading with its functionality?
What language do desktop applications use?
Are c# objects passed by reference?
What is a static class in c#?
Is array ienumerable c#?
Can we inherit a class with private constructor in c#?
Is c# strongly typed?
What are Indexers in C#?
What is list collection in c#?
What does dbml stand for?
What does break do in loop?