首先,我只是在学习 C#,所以我在这里有点不了解
using EveAI.Live;
using EveAI.Live.Character;
public CharacterSheet CharSheet(string API, int KEY, int USER)
{
string Charsname = null;
CharacterSheet CharSheet = new CharacterSheet();
EveApi api = new EveApi(KEY, API, USER);
CharacterSheet csname = api.GetCharacterSheet();
Charsname = csname.Name;
return Charsname;
}
VS 为“return Charsname;”行抛出错误。
提前致谢