I'd like to know how the following programme on pointer written in C can be written in VB.Net, especially how to use the keywords in the C programme like &i and *p in VB.Net. Please clarify.
void f(int *p, int *q)
p = q;
*p = 2;
int i = 0, j = 1;
I am a a self-taught programmer so there are some huge gaps in my understanding about programming, but I will try to explain my problem as best I can. I have found the help on vbdotnetforums to be exemplary, and I thank any of you for your help in advance.
I am using VS2010.
I am writing a...
I want to set a reference to a variable similar to ByRef.
I'm using some global objects which are declared in each form like
Private myObj as Obj = GlobaleConstant.bla.globObj.
The problem is, this is copying the momentary value of the object and is not setting a 'real' reference.