Is there a code snippet in Visual Studio/C# similar to Xcode's #pragma mark
directive?
E.g. When setting #pragma mark Some Part Of Code
in Xcode, "Some Part Of Code" appears in bold in the method enumeration drop-down list, thus you can use it for grouping methods according to their functionality and finding them easier later when needed.
I think you're looking for #region
?
Else, C# has #pragma
too, but from your description it sounds like you want region
If you are working in C# with Xamarin Studio,
Go To:
Xamarin preferences --> Text editor --> General --> Then Enable Code folding
Then you can use,
#region SomeRegion
//...Group of code...
#endregion // end of MyRegion
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With