Office Document APIs for .NET
ITIL Career Advice
PMP Career Advice
Android Intel XDK
Welcome Guest !
C# Out Vs REF
| Views : 2600
In this video we will try to understand what is the difference between C# Ref and Out Keywords.
Get Questpond videos
on discounted price
Comments or Responses
Only difference is that a variable you pass as an out parameter doesn't need to be initialised, and the method using the ref parameter has to set it to something.
ref need to be initialize before going inside the method call and out need to initialize before coming out from method definition.
Login to post response
C# AppDomain explained
Learn SQL Server step by step tutorial - Part 1 ( Beginner series)
Exception Handling in C# step by step using example
Expression Trees of C# with sample
Learn Angular 2 for beginners ( step by step)
What is static and non static members
C# 5.0 Async and Await Demo
Anonymous Method and Lambda Expression in C# an Introduction with Example
Learn TypeScript for beginners
Videos from same C# category
Delegates and events
C#/.NET interview questions: What are Generics?
C# interview question: - What is the use of params keyword?
C# and .NET Interview questions: - What is covariance and contravariance in C# ?
c# and .NET Interview questions : - Multithreading and thread safe objects.
c# interview question :- Debug VS Release ( c# training )
C# and .NET interview question: - What is operator overloading in C# ?
C# interview question with answers :- What is the use of Yield keyword in C# ?
C# interview question :-What is the difference between "==" and ".Equals()" comparision ?
What is TPL ( Task Parallel Library ) in .NET 4.0 ?