小编dan*_*mal的帖子

在C#中,=]是什么意思?

我遇到过一些我以前从未见过的语法; =]谁可以解释下面代码中第2行的语法,特别是位?

//decide what to do with the response we get back from the bridge
client.UploadStringCompleted += (o, args) =] Dispatcher.BeginInvoke(() =]
{
    try
    {
        ResponseTextBox.Text = args.Result;
    }
    catch (Exception ex)
    {
        ResponseTextBox.Text = ex.Message;
    }
});
Run Code Online (Sandbox Code Playgroud)

不幸的是,网络搜索似乎没有解析=],这使我试图找到解释感到沮丧!

c# semantics

0
推荐指数
1
解决办法
151
查看次数

标签 统计

c# ×1

semantics ×1