Click here to Skip to main content
16,021,125 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
I need to declare a stack globally so that i can use it across all views in mvc

What I have tried:

Tried to declare variable in _viewStart.cshtml but no luck;
Posted
Updated 20-Jul-20 4:35am

1 solution

 
Share this answer
 
Comments
BillWoodruff 21-Jul-20 0:24am    
+5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900