Multiple choice technology programming languages

C++ uses pointers. Choose the one which is not TRUE about C Sharp.

  1. Pointers are not supported in C#

  2. Pointers are supported in C# as is in C++

  3. Pointers are replaced by delegates

  4. Pointers can be used by declaring unsafe blocks

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

C# does support pointers, but only within explicitly marked unsafe code blocks. This provides controlled access to pointer functionality while maintaining type safety by default, unlike C++ where pointers are freely available.