Click here to Skip to main content
15,899,126 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to delete files and folders? Pin
Luc Pattyn7-Oct-18 13:42
sitebuilderLuc Pattyn7-Oct-18 13:42 
AnswerRe: How to delete files and folders? Pin
Eddy Vluggen10-Oct-18 2:36
professionalEddy Vluggen10-Oct-18 2:36 
GeneralRe: How to delete files and folders? Pin
Pete O'Hanlon10-Oct-18 2:42
mvePete O'Hanlon10-Oct-18 2:42 
QuestionRe: How to delete files and folders? Pin
Eddy Vluggen10-Oct-18 2:53
professionalEddy Vluggen10-Oct-18 2:53 
AnswerRe: How to delete files and folders? Pin
Pete O'Hanlon10-Oct-18 4:36
mvePete O'Hanlon10-Oct-18 4:36 
GeneralRe: How to delete files and folders? Pin
Eddy Vluggen10-Oct-18 4:44
professionalEddy Vluggen10-Oct-18 4:44 
Questioncan't get these error code to go away Pin
Member 140081504-Oct-18 19:20
professionalMember 140081504-Oct-18 19:20 
AnswerRe: can't get these error code to go away Pin
OriginalGriff4-Oct-18 19:37
mveOriginalGriff4-Oct-18 19:37 
C# is a case sensitive language: which means that Console is not the same thing as console - and that applies to everything. UPPERCASE and lowercase characters are considered to be very different. If you create a variable called MyString then you can't use it by typing mystring, myString, Mystring, or any other variation.

In this case, your code is trying to call a method called WriteLine and the case sensitivity is catching you:
C#
Console.WriteLine("Hello and welcome to the number guessing game!");
Should get rid of those errors.

But the error numbers you are getting implies there are a lot of other errors there, which we can't see - remember that we can't see your screen, access your HDD, or read your mind; we only get exactly what you type to work with - which are "forcing" error to come up on that line.
Chances are you need to look closely at the first line that an error is being reported on and see what the error message says as it may be causing other problems.
A valid C# file should look something like this:
C#
using System;
using ... other namespaces being used ...

namespace MyNamespaceName
    {
    static class MyProgramName
        {
        static void Main()
            {
...
            }
        }
    }
So if yours doesn't that may be a problem.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!

Questionpicboxes Pin
Ferdiinand4-Oct-18 10:31
Ferdiinand4-Oct-18 10:31 
AnswerRe: picboxes Pin
Mycroft Holmes4-Oct-18 12:52
professionalMycroft Holmes4-Oct-18 12:52 
GeneralRe: picboxes Pin
Ferdiinand4-Oct-18 13:11
Ferdiinand4-Oct-18 13:11 
AnswerRe: picboxes Pin
BillWoodruff14-Oct-18 15:16
professionalBillWoodruff14-Oct-18 15:16 
QuestionConversion from C to C#, Need C# Method Signature Pin
akvbsoft4-Oct-18 8:54
akvbsoft4-Oct-18 8:54 
AnswerRe: Conversion from C to C#, Need C# Method Signature Pin
Luc Pattyn4-Oct-18 16:23
sitebuilderLuc Pattyn4-Oct-18 16:23 
Rant[REPOST] Conversion from C to C#, Need C# Method Signature Pin
Richard Deeming5-Oct-18 1:45
mveRichard Deeming5-Oct-18 1:45 
QuestionHow to Cache a DB2 Dynamic Query in ADO.net Pin
kumarkoppireddy4-Oct-18 2:59
kumarkoppireddy4-Oct-18 2:59 
AnswerRe: How to Cache a DB2 Dynamic Query in ADO.net Pin
OriginalGriff4-Oct-18 3:14
mveOriginalGriff4-Oct-18 3:14 
GeneralRe: How to Cache a DB2 Dynamic Query in ADO.net Pin
kumarkoppireddy4-Oct-18 3:50
kumarkoppireddy4-Oct-18 3:50 
GeneralRe: How to Cache a DB2 Dynamic Query in ADO.net Pin
OriginalGriff4-Oct-18 3:54
mveOriginalGriff4-Oct-18 3:54 
GeneralRe: How to Cache a DB2 Dynamic Query in ADO.net Pin
kumarkoppireddy4-Oct-18 4:13
kumarkoppireddy4-Oct-18 4:13 
GeneralRe: How to Cache a DB2 Dynamic Query in ADO.net Pin
Dave Kreskowiak4-Oct-18 4:27
mveDave Kreskowiak4-Oct-18 4:27 
GeneralRe: How to Cache a DB2 Dynamic Query in ADO.net Pin
kumarkoppireddy4-Oct-18 4:54
kumarkoppireddy4-Oct-18 4:54 
GeneralRe: How to Cache a DB2 Dynamic Query in ADO.net Pin
Dave Kreskowiak4-Oct-18 5:04
mveDave Kreskowiak4-Oct-18 5:04 
AnswerRe: How to Cache a DB2 Dynamic Query in ADO.net Pin
Gerry Schmitz4-Oct-18 5:10
mveGerry Schmitz4-Oct-18 5:10 
GeneralRe: How to Cache a DB2 Dynamic Query in ADO.net Pin
kumarkoppireddy4-Oct-18 5:52
kumarkoppireddy4-Oct-18 5:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.