C# Tutorials for Beginners Pdf | Methods, Operator Interview Questions - 1
What is called method invocation?
The process of activating a method is known as calling the method or method invocation.
It is done using the dot operator.
What is the use of ref keyword?
The C# allows a called method to modify the value of a passed argument if it is necessary.
If we want the called method to modify the value of a supplied argument and return the modified value, we should pass the argument using its reference.
What is the use of out keyword?
Output parameters are used to pass results back to the calling method.
It is achieved by declaring the parameters with an “out” keyword.
It does not create new storage location.
What are the four possible types of parameters available?
In C#, there are four possible types of parameters available.
DI Pie Chart Questions and Answers for Bank Exams More
100+ Area Aptitude Questions and Answers Pdf More
100+ Data Interpretation Pie Chart Questions and Answers More
True Discount Questions and Answers for Bank Exams More
100+ HCF and LCM Questions and Answers for SSC Exams More
Vedic Age MCQ Questions and Answers Pdf More
C# Interview Questions and Answers for Freshers More
Computer Awareness for NIMCET 2020-2021 More
MS Excel Practical Viva Questions and Answers More
General Awareness Questions for Bank Clerk Exams Pdf More