pointers are support in C#? if yes then how to use it?

Answers were Sorted based on User's Feedback



pointers are support in C#? if yes then how to use it?..

Answer / supratim sengupta

pointers in C# are considered as unsafe code. We can use
pointers in the same way as we use in C++ or VC++ but we
need to build it with a /unsafe option

Is This Answer Correct ?    9 Yes 1 No

pointers are support in C#? if yes then how to use it?..

Answer / varsha vilas kalebag

yes

Is This Answer Correct ?    7 Yes 1 No

pointers are support in C#? if yes then how to use it?..

Answer / rajavel

ya... pointer can be used in c# for value and array
types...and in inside class too (but class-> reference type
so not applicable)in the class members which are not ref
type../ using fixed keyword ... but it is unsafe....

Is This Answer Correct ?    6 Yes 0 No

pointers are support in C#? if yes then how to use it?..

Answer / varsha vilas kalebag

yes, pointer is nothing but value is saved in another
memory address

Is This Answer Correct ?    4 Yes 0 No

pointers are support in C#? if yes then how to use it?..

Answer / preeti

Yes pointers are supported in c#.
Def:- pointers point to other veriable's memory address.
Uses:-
i)It uses in call by reference concept.
ii)Number of pointers can point to same memory address.
iii)using pointer there is working on exact memory location
instead of other veriable.

Is This Answer Correct ?    3 Yes 0 No

pointers are support in C#? if yes then how to use it?..

Answer / kiran

yes we can use pointers same as in c++ and c but pointer concept is not supported in c# but we can implement using interface concept

Is This Answer Correct ?    3 Yes 1 No

pointers are support in C#? if yes then how to use it?..

Answer / baru

yes,pointers can support in c#.Basically variables can hold and work on values of data types but pointers can work on addresses of those variables so memory space utilization will be efficient as these pointers works on available memory spaces

Is This Answer Correct ?    0 Yes 0 No

pointers are support in C#? if yes then how to use it?..

Answer / rajiv grover

NO
pointer is not used in c#

Is This Answer Correct ?    2 Yes 9 No

Post New Answer

More OOPS Interview Questions

Why do we use oop?

0 Answers  


What is friend function?

12 Answers   Wipro,


What is the real time example of encapsulation?

0 Answers  


What does I oop mean?

0 Answers  


What is the differances between a abstract calss and interface

5 Answers   Aviva, Symphony,






program for insertion ,deletion,sorting in double link list

0 Answers  


what is mean by design pattern

4 Answers  


What is multiple inheritance?

9 Answers   TCS,


What is the benefit of oop?

0 Answers  


how to find no of instances of an object in .NET?

1 Answers   Infosys,


Is oop better than procedural?

0 Answers  


What is abstraction in oops with example?

0 Answers  


Categories