G+_James Coleman Posted March 14, 2014 Share Posted March 14, 2014 In C# (c hash tag), I saw that you were placing a class within a class. What does that cause in case of scope? I will use what was used in the episode as an example. The class Program had the class Car. Can only the class Program and classes under it see the class Car, or can classes out side of the class Program see Car as well? Link to comment Share on other sites More sharing options...
G+_Dean T Posted March 15, 2014 Share Posted March 15, 2014 I placed my classes all over to check differences so it was outside the program class as well as inside and in these attempts it made no difference. In real practice though your class would be saved in a separate file to save space. Link to comment Share on other sites More sharing options...
Recommended Posts