protected void A()
{
int a = 10;
int b = 20 ;
int sumA = a + b ;
}
How to use these variables value in other function ..
Protected void B()
{
int sumB =50;
/* get values from function A ?? */
if(sumA /* value from funtion A */ > sumB)
{
DoSomethin();
}
}