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

Gelöst: Cannot implicitly convert type 'int?' to 'int'.

24.03.2021 (👁467)

Gelöst: Cannot implicitly convert type 'int?' to 'int'.

 

 

Fehlermeldung:

Cannot implicitly convert type 'int?' to 'int'. An explicit conversion exists (are you missing a cast?)

 

 

In c# Fehler

apiArticle.sumviews = article.sumViews;

 

 

Gelöst

apiArticle.sumviews = (int) article.sumViews;

or

apiArticle.sumviews = article.sumViews ?? 0;