public static SshShell SshServer;
I know that SshShell is class, but I couldn't get what SshServer is? Could you please explain above whole line?
public static SshShell SshServer;
I know that SshShell is class, but I couldn't get what SshServer is? Could you please explain above whole line?
The line signifies a variable declaration. A declaration in C# has the following syntax:
<modifiers> <data_type> <variable_name>;
The first two words in the line you provided are modifiers, they are used for modifying declarations.
Moving on, SshShell is the type of the variable and SshServer is the name of the variable.
You can find more info on the C# reference.
It's a field name.
public static SshShell SshServer;
public void Test()
{
SshServer = null;
}