C# Corner

Resources  
  • Working With Ref Returns And Ref Local In C# 7.0Mar 24, 2017. This article explains about Ref Returns and Ref Local , which are introduced in C# 7.0 and demonstrates how to use it in software development.
  • Understanding ref And out With C# 7Feb 20, 2017. This article explains the usage of ‘ref’ & ‘out’ in depth along with the enhancement done in C# 7.
  • All About Ref and Out Type ParametersJun 29, 2015. In this article we will learn about the ref and out type parameters in C# programming.
  • Value Out and Ref Parameters in C#Nov 28, 2012. In this article, I am going to discuss the first 3 kinds of parameters.
  • Working With Ref and Out Parameter in C#May 28, 2012. Here we discuss the ref and out parameters in C#. They are basically parameters and we can use it in a different way.
  • Ref and Out (The Inside Story)May 09, 2012. Knowing the power of ref and out, a developer will certainly make full use of this feature of parameter passing. My effort in this article would be to make this understanding simpler and focus on internal logic of ref and out.
  • Facts of Ref And Out Type Parameters in C#Jun 30, 2011. In this quick article you will take a look at the facts of ref and out type parameters in C#.
  • Difference between Ref Keyword And Out KeywordApr 20, 2011. While passing Argument To Any Method Having ref and out keyword in C#.
  • Out and Ref Parameters in C#Feb 27, 2005. The out and the ref parameters are used to return values in the same variables that you pass an an argument of a method.
  • Difference between passing reference types by ref and by valueSep 02, 2004. We all know the difference between passing value types byval and byref, if the variable is passed byval any change to the variable value in the called function is not reflected back in the callee.
  • Using ref and out ParameterJun 20, 2001. When we pass a parameter as ref to a method, the method refers to the same variable and changes made will affect the actual variable.
  • The out and ref Paramerter in C#Jun 12, 2001. The out and the ref parameters are used to return values in the same variables, that you pass an an argument of a method. These both parameters are very useful when your method needs to return more than one values.
  • Using the ref ParameterMar 06, 2001. The ref keyword on a method parameter causes a method to refer to the same variable that was passed as an input parameter for the same method. If you do any changes to the variable, they will be reflected in the variable.
  • ref Keyword In C#Mar 20, 2017. ref Keyword In C#.
  • Ref Returns In C# 7.0Jan 03, 2017. Ref returns in C# 7.0
  • Ref And Out Keywords In C#Apr 10, 2016. In this article, we will talk about the ref and out keywords in C#.
  • Ref And Out keyword In C#Oct 08, 2015. In this article, I will demonstrate you the actual use of ref and out keyword. I will also show you examples on this demonstration.
  • Ref And Out Keywords in C#Jul 25, 2015. In this article you will learn about the ref and out keywords in C#.
  • Ref and Out Parameters in C#Apr 07, 2015. In this article we will study Ref and Out parameters in C#.
  • Why Overloaded Method Differing in Out and RefMar 05, 2015. In this article you will learn why we cannot have overload a method differing only as out and ref params.
  • Ref Vs Out Keywords in C#May 21, 2014. This article explains the ref and out keywords with differences in C#.
  • Reference and Value Types as Function Parameters Using Ref/Out KeywordsMay 13, 2014. In this article, we will try to study the behavior of the ref and out keywords when we use them as function parameters.
  • Ref and Out Parameters in C#Nov 18, 2013. In this article we will learn about the ref and out parameters in C#.
  • Ref and Out (The Inside Story)Nov 24, 2011. My effort in this article would be to make this understanding simpler and focus on internal logic of ref and out.
  • Work with "out" and "ref" keywords in C#Nov 15, 2011. The out and ref keyword look quite similar in nature. Both parameters are used to return back some value to the caller of the function. But still there is a small but important difference between them. Both of the parameter type has been kept in the C# language for specific scenario.
  • Will swap work if C# Manipulates Objects by Reference?Feb 15, 2005. C# does manipulate objects by reference, and all object variables are references. On the other hand, C# does not pass method arguments by reference; it passes them by value. Thus, a regular swap method will not work!
  • ReadOnly Fields in C#Mar 07, 2014. This article explains ReadOnly fields in C#. ReadOnly members are just like constants depending on the objects. The readonly modifier can be used for fields only. Once you initialize the value of ReadOnly data members, the object can't change that value, but it can access the value.
  • Swapping Values Using C#Dec 26, 2013. In this article we will learn how to swap Values Using C# without creating new storage location with help of ref parameter
  • 6 Important .NET ConceptsApr 27, 2010. This article will explain 6 important concepts: Stack , heap , by val , by ref , boxing and unboxing.
  • Method Parameter Types in C# Dec 02, 2009. In this article I will explain you about Method Parameter Types in C#.
  • Parameter passing in C#Jun 01, 2009. Article to explain how parameter are passed in C#.
  • C# Methods : Part II Jul 07, 2003. This article completes our discussion of methods. In this article, you will learn parameter passing, reference and value type parameters, and method overloading.
  • Calling Procedural COBOL from C#Sep 05, 2002. In a previous article we discussed how to call procedural based COBOL programs from VB.NET.

About Ref

NA
File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!