问题描述
私有无效按钮1_Click(对象发送者,EventArgs e)
{
试试
{
//声明一个变量并使用初始化它
//用户的输入.
int number = int.Parse(inputTextBox1.Text);
private void button1_Click(object sender, EventArgs e)
{
try
{
// Declare a variable and initiailze it with
// the user's input.
int number = int.Parse(inputTextBox1.Text);
严重性代码说明项目文件线状态的抑制状态
错误CS1513 } 预期为WalJch4Ex1C:\ Users \ Desktop \ MyPrograms \ WalJch4Ex1 \ WalJch4Ex1 \ Form1.cs 26 活动
Severity Code Description Project File Line Suppression State
Error CS1513 } expected WalJch4Ex1 C:\Users\Desktop\MyPrograms\WalJch4Ex1\WalJch4Ex1\Form1.cs 26 Active
看起来像我的代码中第26行的错误.
getting an error on what would be line 26 in my code on top is what it looks like.
推荐答案
关于CS1513错误详细信息: https://msdn.microsoft .com/en-us/library/83ht1k63(v = vs.140).aspx
About CS1513 error details: https://msdn.microsoft.com/en-us/library/83ht1k63(v=vs.140).aspx
这篇关于错误CS1513第26行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!