Skip to content

Commit

Permalink
Add const with suggestion from #28
Browse files Browse the repository at this point in the history
  • Loading branch information
thangchung committed Jan 18, 2019
1 parent fb4ef4c commit 4cecbd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ if (userRole == "Admin")
**Good**

```csharp
string ADMIN_ROLE = "Admin"
const string ADMIN_ROLE = "Admin"
if (userRole == ADMIN_ROLE)
{
// logic in here
Expand Down

0 comments on commit 4cecbd0

Please sign in to comment.