Readdy Write  
0,00 €
Your View Money
Views: Count
Self 20% 0
Your Content 60% 0

Users by Links 0
u1*(Content+Views) 10% 0
Follow-Follower 0
s2*(Income) 5% 0

Count
Followers 0
Login Register as User
c# ; nullable ; net8 ;

C# CS8632 the annotation for nullable reference types should only be used in code within a '#nullabel' annotations context

20.02.2023 (👁2636)

C# CS8632 the annotation for nullable reference types should only be used in code within a '#nullabel' annotations context

 

Wenn man ein neues WinApp Windows Application erstellt mit string? Variablen.

Also ein String der von der Datenbank kommt und NULL sein kann.

Ein Bild, das Text enthält.

Automatisch generierte Beschreibung

Lösung:

In die Solution->Project->Properties

Dann scroll down bis Build / General

Und dort die Nullabe: Specifies the project-wide C# nullable context. Only available for projects that use C# 8.0 or later

 

è Auf enable setzen

Ein Bild, das Text enthält.

Automatisch generierte Beschreibung