Question by
Gh0st1461 · Jul 04, 2016 at 11:25 PM ·
c#visualstudiominimizecomments
How, or what option allows you to minimize a long list of code that you've commented out? (Visual Studio, C#)
For example:
/*Dictionary myFavoritePonies = new Dictionary ();
myFavoritePonies.Add (10, "Princess Cadence");
myFavoritePonies.Add (20, "Fluttershy"); //Here are two ways to add to a Dictionary.
myFavoritePonies[30] = "Nightmare Moon"; //<<<<<<<<<<
Debug.Log ("The pony's name for Key 10 is " + myFavoritePonies[10]);
Debug.Log ("The pony's name for Key 20 is " + myFavoritePonies[20]);
Debug.Log ("The pony's name for Key 30 is " + myFavoritePonies[30]);
myFavoritePonies[40] = "Rainbow Dash";
Debug.Log ("The pony's name for Key 40 is " + myFavoritePonies[40]);
Debug.Log ("This Dictionary has " + myFavoritePonies.Count + " ponies.");*/
Comment