Reference vs Value Types in C#
Memory layout for value types Variables in C# can be classified into two types - reference types and value types. If we know the characteristics of each of them it will be easy for us to use them and optimize the programs we write. Value types When a variable is created, memory is allocated in