“SaveUser”收到错误“clsDataLayer.SaveUser( string,string)”:并非所有代码路径都返回值
// This function saves the user loginpublic static bool SaveUser(string Database, string UserName, str
我得到一个错误,不是所有的代码路径都返回值?public string Authentication(string studentID, string password) // this line?students.FirstOrDefault(n => n.StudentID == studentID);
//find the StudentID that matches the
我不熟悉统一,所以我的代码在这里遇到了问题:{
for (int i = 0; i < MyInventory.LengthScript/Items/InventoryScript.cs(35,17):error CS0161:`InventoryScript.FindItem(UnityEngine.GameObject)':并非所有代码路径都返回一个值