A very cool feature. I can collapse the code for each class or method of a class, for example here is the full class:
Code:
class Person
{
private System.Random randomNumberGenerator;
public Person()
{
randomNumberGenerator = new System.Random();
}
public int NewFloorRequest()
{
//Return randomly generated number
return randomNumberGenerator.Next(1,30);
}
}
Here is the class with the methods collapsed:
Code:
class Person
{
private System.Random randomNumberGenerator;
public Person()...
public int NewFloorRequest()...
}
And here is the code with the class collapsed:
You can open the collapsed code whenever you want. Makes editing more rich. One of the features of VS.NET