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
async ; await ;

Fehler: Cannot implicitly convert type System.Threading.Tasks.Task to long

20.08.2018 (👁2706)

Fehler: Cannot implicitly convert type 'System.Threading.Tasks.Task<long>' to 'long'

 

 

Falsch:

long ID = clsDB.Get_ID_by_RefNr_OnServer(ID_on_Server);

 

Gelöst:

long ID = await clsDB.Get_ID_by_RefNr_OnServer(ID_on_Server);