TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Daniel Hunt
NA
14
4.6k
New Project in Visual Studio giving Error -
May 2 2018 2:00 AM
I am having difficulty understanding the layout of code for these simple programs. If someone could take a look and point me in the right direction I would appreciate it. The simple code is attached and the error is below:
Severity Code Description Project File Line Suppression State
Error CS0106 The modifier 'static' is not valid for this item ConsoleApp2 C:\Users\admin\source\repos\ConsoleApp2\ConsoleApp2\Program.cs 9 Active
Severity Code Description Project File Line Suppression State
Warning CS8321 The local function 'IfStatement' is declared but never used ConsoleApp2 C:\Users\admin\source\repos\ConsoleApp2\ConsoleApp2\Program.cs 9 Active
Attachment:
NewZip.zip
Reply
Answers (
8
)
New Project in Visual Studio giving Error - Beginner
Getting a cookie from a web project into a WinForm