Отобразить сообщение об ошибке функции повышения SQLite?

Отметьте свой класс с помощью

[System.Diagnostics.DebuggerDisplay("{ToString()}")]

Тест:

[System.Diagnostics.DebuggerDisplay("{ToString()}")]
class MyClass
{
    private string _foo = "This is the text that will be displayed at debugging"

    public override string ToString()
    {
        return _foo;
    }
}

Теперь, когда вы наводите указатель мыши на переменную с помощью мыши, он будет показывать This is the text that will be displayed at debugging.

0
задан John Hascall 18 March 2019 в 14:38
поделиться