Resources  
  • Working with Span, Memory, and ref structs in High-Performance Apps using .NET 9May 04, 2026. Unlock peak .NET 9 performance! Dive into Span<T>, Memory<T>, and ref structs for allocation-free, high-speed code. Master stack-based memory and reduce GC pressure.
  • Difference Between ref and out Parameters in C# with Examples?Apr 20, 2026. Unlock the power of ref and out parameters in C#! Master passing arguments by reference, modifying existing values with ref, and returning multiple values with out. Enhance your C# coding skills!
  • Out Vs Ref In C#Dec 12, 2022. In this article, you will learn about Out vs Ref in C#.
  • New C# 7 Features - Ref Returns And Out Variables - Part ThreeJul 30, 2018. This blog explains the improvement for ref returns and out variable in C# 7.0.
  • 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.
  • C# ref KeywordMar 20, 2017. C# ref and C# out keywords are used in method parameters. This article helps you decide whether to use a ref or out keyword, especially when the parameter types are value types.
  • 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.
  • C# Ref ReturnsJan 03, 2017. Ref returns were introduced in C# 7.0. Learn how to use ref returns in C#.
  • 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.
  • C# 14 Improved Lambda Expressions: Using ref, in, and out Parameters for High-Performance CodeDec 28, 2025. Explore C# 14's enhanced lambda expressions with 'ref', 'in', and 'out' parameters. Boost performance, readability, and code consistency for critical operations.
  • Difference Between ref, out, and in Parameters in C#Aug 13, 2025. Learn the difference between ref, out, and in parameters in C#. Understand their usage, advantages, disadvantages, and see full real-world examples.
  • Understanding in, ref, and out Parameter Modifiers in C#Mar 09, 2025. Learn how to use in, ref, and out parameter modifiers in C# with practical examples. Understand their differences, use cases, and best practices for passing arguments efficiently.
  • How to Create Refs in React.js?Feb 26, 2024. In React, refs facilitate direct access to DOM elements or class component instances. Learn how to create, access, and use refs for tasks like focus management, animations, and third-party library integration.
  • Vue Template Refs Improving DOM ManipulationFeb 22, 2024. Vue Template Refs are a powerful feature that enables you to directly access and manipulate DOM elements in a Vue.js application. By using the ref attribute and the $refs object, you can achieve dynamic and interactive user interfaces without relying on traditional DOM manipulation methods.
  • Ref Readonly Parameters in C# 12Jan 03, 2024. C# 12 unveils a hidden gem: ref readonly parameters. This article delves beyond the surface, offering a deep dive into their benefits, usage patterns, and how they differ from familiar options like ref and in. Embrace their power for safer, clearer, and more efficient code. In the current digital era, we try to de-couple applications from one another so it is supposed to adapt to plug it in another version or another application easily.
  • Passing an argument by reference in C#Aug 20, 2023. This article contains useful information about how to use ref keyword in your C# program with the proper and easy to understand example.
  • Ref vs Out In C#Nov 11, 2022. In this article we learn about Ref vs Out in C#.
  • Ref Vs Out And Value Type Vs Reference TypeSep 06, 2022. In this article, you will learn about ref vs out and value type vs reference type.
  • Ref Vs. Out Parameter In C#Jul 06, 2020. These 2 widely-used keywords have advantages when it comes to returning multiple values.
  • Forwarding Refs In ReactFeb 12, 2020. In this article, you will learn about Forwarding Refs in React.
  • Different Ways to Create Refs in ReactFeb 05, 2020. In this article, you will learn about different ways to create Refs in React.
  • Memo And Refs In ReactJul 31, 2019. This article talks about the concept of Memo and Refs in React.
  • Working With New Enhanced Feature Of ‘Ref’ Keyword In C# 7.0Sep 20, 2018. Here, in this article, I will try to explore the new enhanced feature of ‘ref’ keyword.
  • Ref And Out KeyWords - Two Separated TwinsMar 26, 2018. In this article, I am going to explain the concepts of some useful keywords like Ref & Out parameters. These keywords are used along with the data to be passed to a function as parameter. Below I will explain a brief explanation about each of these keywords with an example.
  • 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, we will learn Ref" and "Out" keywords in C# are used to modify method parameter behavior. "Ref" passes parameters by reference, allowing method changes to reflect outside the method. "Out" is similar but used for returning multiple values from a method.
  • Ref And Out Keywords In C#Jul 25, 2015. In C#, the ref and out keywords are used as parameter modifiers in method signatures to indicate how method arguments should be treated. They are often used when you need to pass arguments to a method and potentially receive modified values or multiple values back from the method. Here's a description of these keywords and their usage.
  • 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 in C#May 21, 2014. Explore the distinction between 'ref' and 'out' keywords in C#. Learn how 'ref' passes arguments by reference for both input and output, while 'out' is used solely for output parameters, aiding in flexible parameter passing and variable modification within methods.
  • 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!
  • When nameof Breaks the CompilerFeb 18, 2026. Discover a rare C# compiler crash caused by using nameof() with indexers in .NET 8! Learn how Ref Safety Analysis triggers a 'FailFast' and how to avoid it. Keep your nameof expressions simple for safer code!
  • C# 14 in Action: High-Performance Lambda Expressions with Parameter ModifiersDec 26, 2025. Explore C# 14's enhanced lambda expressions with parameter modifiers (ref, in, out) for high-performance code, clearer intent, and expressive APIs. Optimize your C#!
  • 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.