What are the two keywords used to pass a variable by
reference in c#?
Answer Posted / sreekanth m
Two keywords are "ref" and "out".
the difference between them are: In the case of "ref", the
passed argument should be initialized first whereas
for "out", its not mandatory.
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
What are the differences between value types and reference types?
Define boxing and unboxing in c#?
What are predicates in c#?
Explain the types of assemblies in .net?
Does a class need a constructor c#?
what is IDisposal interface
What is int tryparse in c#?
Why hashtable is thread safe in c#?
What is private virtual in C#?
What are delegate methods?
Explain acid rule of thumb for transactions in c#.
What is xamarin used for?
What is the .NET collection class that allows an element to be accessed using a unique key?
I need code to connect ohter systems in the LAN and i want to display my website image over there and i want explain as a admin through phone. So i need code to access other system using C-Sharp. Any one please help me.Please give me the code. Advace thanks.
Is static thread safe?