Hello beautiful forum once again .
I was trying to make a class static variable equal with a method's parameter but I (apparently) don't know how to do it .
This code :
I want to make these static integers to call them from one another class which will be the project which has this class as a reference library , and because I can not call a single parameter from another method or class , I have to make these static variable which will be equal with these parameters .
I am telling you these stuff hopefully that if I can not do something with the way I thought I could , you would tell me another way to do it .🤝
I was trying to make a class static variable equal with a method's parameter but I (apparently) don't know how to do it .
This code :
Code
public static int text1;
public static int text2;
public double result(double text1, double text2, bool quotients, bool products,bool difference,bool sum)
{
[...]
}I want to make these static integers to call them from one another class which will be the project which has this class as a reference library , and because I can not call a single parameter from another method or class , I have to make these static variable which will be equal with these parameters .
I am telling you these stuff hopefully that if I can not do something with the way I thought I could , you would tell me another way to do it .🤝


