which feature overcome the pointers concept in c# | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

which feature overcome the pointers concept in c#

pointer concept is not supported in c#

14th Jul 2018, 4:46 PM
Vikram Thakur
Vikram Thakur - avatar
4 Answers
+ 2
pointer are only use in reference type
14th Jul 2018, 5:50 PM
🇳🇬 Code = New 🇳🇬 ()
🇳🇬 Code = New     🇳🇬 () - avatar
+ 2
Vikram Thakur C# is an OOP language. All of the C# code must exist within a class. C# Classes will automatally reserve memory addresses. Meaning it already uses pointers without you declaring an object as a pointer.
14th Jul 2018, 5:33 PM
Manual
Manual - avatar
+ 2
basically there two types of datatype classification 1:value type // struct int double etc 2: reference type // class string regex etc pointer are just address that are stored on the heap memory connecting it to the stack memory where the main value is stored
14th Jul 2018, 5:49 PM
🇳🇬 Code = New 🇳🇬 ()
🇳🇬 Code = New     🇳🇬 () - avatar
+ 1
so there that everything I know on pointers in c#
14th Jul 2018, 5:52 PM
🇳🇬 Code = New 🇳🇬 ()
🇳🇬 Code = New     🇳🇬 () - avatar