當我嘗試輸入登錄名時,程序正在向我發送段&寫一些關於不正確的synxtax錯誤'='的信息。 public bool personelEntryControl(string password, int UserId)
{
bool result = false;
SqlConnection con = new SqlConnection(gnl.conString);
當我跨過斷點在我的代碼我也遇到過調試的奇怪的行爲: public async Task DoSomeWork()
{
await Task.Run(() => { Thread.Sleep(1000); });
var test = false;
if (test)
{
throw new Exception("Im in IF body!