C#编码出现问题,不确定是什么意思 [英] problems with C# coding, not sure what problem means

查看:74
本文介绍了C#编码出现问题,不确定是什么意思的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试创建一个称为static void Display的方法时,我一直收到此错误,这是什么意思.

错误1预期的类,委托,枚举,接口或结构

I keep receiving this error, when I am trying to create a method called static void Display, what does it mean.

Error 1 Expected class, delegate, enum, interface, or struct

推荐答案

阅读
Read this.[^]
You probably will get some hints from it.


它的意思是停止使用试错法进行编程-它无处可寻".

老实说,请阅读所有有关语言的知识,至少要了解平台的基础知识,请花几天的时间.
您甚至没有提供足够的代码来显示问题.

—SA
It means "Stop programming using trial and error method — it leads you nowhere".

Honestly, read all about language and at least very basics of the platform, spend just few days.
You did not even provide enough of your code to show the issue.

—SA


这篇关于C#编码出现问题,不确定是什么意思的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆