Below is the sample code
public class class1
{
public static void emp(string name)
{
.....
value = (value that is returned)
}
}
public class class2
{
public static void studen(string division)
{
...
}
}
This is how i want to use. class2.studen(value);
Here i need to pass the value that is returned from class1 to the string division of class2. Any help would be appreciated.
Here function emp and studen are in different class files.