Related resources for Value Types
  • Understanding Structs In C# with Example7/1/2024 6:26:12 AM. Structs in C# provide a lightweight alternative to classes, ideal for representing small, immutable data structures. Unlike classes, structs are value types stored on the stack, enhancing performance
  • Stack Vs Heap Memory - C#6/7/2024 10:28:14 AM. Explore the nuances of memory management in C# programming, distinguishing between value types and reference types, understanding dynamic and static memory allocation, evaluating access efficiency, r
  • The Is and As Operators in C#5/31/2024 10:06:34 AM. In C#, the "is" operator checks if an object is of a specified type, returning a boolean. The "as" operator attempts to cast an object to a specified type, returning null if the ca
  • Ref And Out keyword In C#5/24/2024 10:17:06 AM. 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 ref
  • Boxing and Unboxing in .NET C#5/14/2024 5:20:51 AM. In C#, boxing and unpacking are crucial ideas. Value types (int, char, etc.), Reference types (object), and Pointer types are the three forms of data in the C# type system. In essence, Unboxing does t
  • Implementing Equality For Reference Types4/25/2024 7:58:08 AM. Learn how to implement equality for reference types in C# to compare objects based on their values rather than their references. Understand the complexities introduced by inheritance and null handling
  • What Is Struct And When To Use Struct In C#4/23/2024 8:20:54 AM. 'Struct' keyword is used to create a structure. A structure can contain variables, methods, static constructor, parameterized constructor, operators, indexers, events, and property. A structur
  • Value Types vs Reference Types in C#11/19/2023 6:02:26 AM. This comprehensive guide delves into the fundamental concepts of C# data types, distinguishing between value types and reference types. Covering characteristics, pros and cons, key differences, and be
  • Object Relational Mapping (ORM) Using NHibernate - Part 1 of 87/31/2023 5:28:18 AM. To establish the ideas of Object Relational Mapping Internals, Nhibernate fundamentals, Intemediate and Advanced coding concepts using NHibernate more clearly (for me and hopefully to readers).
  • C# Heap(ing) Vs Stack(ing) In .NET - Part Two6/6/2023 8:25:13 AM. Having a basic understanding of how memory management works will help explain the behavior of the variables we work with in every program we write. In this article I'll cover some of the behavior
  • Nullable Types in C#: Basic Introduction8/31/2022 9:05:11 AM. This article gives a quick view in to the problems faced with the value type objects and the solution to the problems. This beautiful facility is introduced by Microsoft as an concept called “Nullable
  • Check How You Remember Nullable Value Types - Let's Peek Under The Hood11/9/2020 6:52:04 PM. In this article, you will learn to check how you remember nullable value types. Let's peek under the hood.
  • Value Type And Reference Type Variables2/19/2019 8:40:28 AM. In this article we will learn about Value Type and Reference Type variables.
  • Equality Operator And Value Types In C#1/16/2017 11:50:01 PM. In this article, you will learn about Equality Operator (==) behavior for non-primitive value types.
  • Effectively Using Value Types in .Net5/28/2015 9:44:22 PM. In this article you will learn how to effectively use .NET types to increase the application's performance.
  • Reference and Value Types as Function Parameters Using Ref/Out Keywords5/14/2014 11:03:34 AM. In this article, we will try to study the behavior of the ref and out keywords when we use them as function parameters.
  • Data Types and Value Types in .NET3/1/2013 8:14:06 PM. This article explains what Data Types and Value Types in .NET are.
  • Working With Data Types10/13/2012 4:17:23 AM. Explains data types in C# and how to work with them.
  • Boxing and Performance of Collections1/3/2006 5:49:30 AM. In this article, I will compare some performance issues of values and references types during boxing and unboxing operations.