Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
C#
csharp check if env is development
MaximPro
Programming language:
C#
2021-04-27 08:50:51
0
Q:
csharp check if env is development
Mohamed Lamine Hasan
Code:
C#
2021-03-29 07:11:38
bool isDevelopment = Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT") == "Development";
1
Tags
check
Related
enums c#
C# enum
c# environment variables
encrypt in C#
c# check if object is of any generic type
get enum value c#
c# enum syntax
enum in c#
enum c#
c# enum check in string value
c# verify in class exist in list
c sharp check if list contains
c# check if a directory exists
define enum c#
how to check if folder exists in c#
c# checksum
public enum c#
New to Communities?
Join the community