Hello.
I have a simple question which internet can't seem to answer (likely because I can't remember the correct term).
It's been a while since I used c# but I remember there to be some kind of tag that lets you "portion" a chunk of code and minimize it just like a function.
Say you have code that looks something like this:
// A-related
// A variables
lots of variables...
// A functions
lots of functions...
And you want to minimize to a single line while working (like visual lets you do for functions).
Like this:
[+] A related
Expanded:
[-] A related
// A variables
lots of variables...
// A functions
lots of functions...
[-] /end A related
I know this might seem trivial, but as my code grows longer and longer I want to be able to navigate it without wearing out the scroll wheel on my mouse.
Thank you.
I have a simple question which internet can't seem to answer (likely because I can't remember the correct term).
It's been a while since I used c# but I remember there to be some kind of tag that lets you "portion" a chunk of code and minimize it just like a function.
Say you have code that looks something like this:
// A-related
// A variables
lots of variables...
// A functions
lots of functions...
And you want to minimize to a single line while working (like visual lets you do for functions).
Like this:
[+] A related
Expanded:
[-] A related
// A variables
lots of variables...
// A functions
lots of functions...
[-] /end A related
I know this might seem trivial, but as my code grows longer and longer I want to be able to navigate it without wearing out the scroll wheel on my mouse.
Thank you.
Comment