pointers are support in C#? if yes then how to use it?
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / varsha vilas kalebag
yes, pointer is nothing but value is saved in another
memory address
| Is This Answer Correct ? | 4 Yes | 0 No |
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 |
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 |
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 |
create a c++ program that will accepts 9 inputs using 3 by 3 array.
What is the difference between a mixin and inheritance?
Is data hiding and abstraction same?
what is the sylabus for priliminaries?
why constructor cannt be declar virtually? why destructor cannt be overloaded?
Difference between over loading and over ridding?
12 Answers CTS, Patni, Softvision Solution,
20% of a 6 litre solution and 60% of 4 litre solution are mixed what the % of mixture of solution it is resulted into?
write a program to find 2^n+1 ?
What are oops methods?
What is a class oop?
how to write a java program for an output ****0 ***01 **012 *0123 01234
How to reverse a sentence in c program ex: ram is a good boy answer: boy good a is ram