Accessing classes class from other script

If I’d use this type of script structure, is it possible to access class “Something” from other script, and like variable a?

public class Stuff : MonoBehaviour {
   public class Something{
      byte a=5;
   }
}

I know, you can access the first-main class from other script using get component.
But what about the second class?

Hi it is really simple to do just that

just the add this line to yor code

    public class Stuff : MonoBehaviour {
    public class Something{
    byte a=5;
    }
public Something Some;
    
}

 public class ScriptB : MonoBehaviour {
Stuff StuffScript;
void Start(){
StuffScript = transform.GetComponent<Stuff>();
if(StuffScript)
StuffScript.Some.a = 1;///(Name of the script.Name of the class variable.value in the class)
}
}

Yes, I think you should be able to. So for example if your in another script…

public class GetSomething ()
  {

   int numberOfBytes = Stuff.something.byte;

  }

something similar like this should be able to work.