Navjot Angra

Navjot Angra

  • NA
  • 489
  • 250.5k

Can I call class as string param in other class?

Aug 25 2018 10:27 AM
Suppose 
public class A
{
int a=5;
void  sum()
{int a=5,b=5,c;
c=a+b; 
 
public class B 
{  
  int b=6;
void getmethod(string A,int a)
{
//code 
}  
So How can i do it? 
 

Answers (7)