2016-09-04 87 views
3

我有一個調試工具命名爲memory.I打開這個工具調試工具→Windows→內存→內存1有問題。錯誤「無法評估表達式」

這是我的全部代碼:

using System; 
using System.Windows.Forms; 

namespace CSharpCompleteTutorial 
{ 
public partial class Form1 : Form 
{ 
    public Form1() 
    { 
     InitializeComponent(); 
    } 

    public delegate decimal Hesaplama(int adet); 
    private void Form1_Load(object sender, EventArgs e) 
    { 
     Hesaplama del = Fiyat; 
     del += KDVFiyat; 
     MessageBox.Show(del.Invoke(5).ToString()); 
    } 

    public decimal Fiyat(int sayi) 
    { 
     return sayi * 10.5m; 
    } 

    public decimal KDVFiyat(int sayi) 
    { 
     decimal kdvharicfiyat = sayi * 10.5m; 

     return kdvharicfiyat + kdvharicfiyat * 0.18m; 
    } 
} 
} 

我必須用簡單的內存tool.But這讓我一個錯誤的形象。

Image of error

回答

1

錯誤消息意味着存儲器地址不識別和計算表達式。我的建議是,您可以使用反彙編窗口獲取地址,並在您的存儲器窗口中輸入地址。

enter image description here

+0

@dviddddd,這個問題呢?任何更新? –