Check out example codes for "call a function c#". It will help you in understanding the concepts better.

Code Example 1

void draw() {
	//code here
}

//Calls the function every frame making nice and satisfying movement
void Update() {
	draw()
}

Learn ReactJs, React Native from akashmittal.com