Entering preprocessor directive in ASP.NET MVC Razor View

Below is a sample code snippet that demonstrates how to add preprocessor directive in ASP.NET MVC Razor View .

@{

#if DEBUG

// Abundantcode content goes here

#endif

}