You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Possible null reference argument for parameter 's' in 'int int.Parse(string s)'"
It was the only warning that messed with my head.
------------------------------------------------------------------------
modified: StudentManagementSystem/StudentManagementSystem.csproj
Copy file name to clipboardExpand all lines: StudentManagementSystem/StudentManagementSystem.csproj
+1-1
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
<OutputType>Exe</OutputType>
5
5
<TargetFramework>net7.0</TargetFramework>
6
6
<ImplicitUsings>enable</ImplicitUsings>
7
-
<Nullable>enable</Nullable> <!--Don't know why this shit isn't working!-->
7
+
<Nullable>disable</Nullable> <!--When disabled, the warning "Possible null reference argument for parameter 's' in 'int int.Parse(string s)'" &++ will be ignored. --><!-- Especially for this project, it was the only warning that messed with my head.-->
8
8
<!-- Dev Dependency??? -->
9
9
<RestorePackagesPath>..\packages</RestorePackagesPath> <!-- All packages will be restored in project root folder -->
0 commit comments