fix errors
https://pastebin.com/z6uTe8kX
Why is CreateConfig not working? I also provided the errors in the pastebin with the code
Pastebin
Config.csusing Newtonsoft.Json;class Config{ public static Co - ...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
6 Replies
Define "not working"
Also, what are the errors?
I don't see any mentioned in the paste
They're at the end
Cannot implicitly convert type 'long' to 'string' x3 in different places and cannot convert from 'System.Collections.Generic.Dictionary<string, Program.User>.ValueCollection' to 'System.Collections.Generic.IEnumerable<User>
They seem pretty clear
Something wants a string, you're giving it a long
Three times
Something else wants an
IEnumerable<User>
but you're giving it a Dictuinary<string, User>
Not to me I tried changing everything and it still gives errors I'm a newbie
Look at the line number, first of all
That's where the error is
Then, look at the types
Maybe some variable is of type
string
but you're giving it a value of type long
Maybe some method wants a string
as a parameter but you're giving it a long
Sorry I forgot to mention 1 hour after I sent that I fixed it @ZZZZZZZZZZZZZZZZZZZZZZZZZ sorry