+ 1
I donât get these things { and what is wrong with this?
First I donât get these { why are they placed like { { { This Also are spaces important or do they just keep things more organized? Also why doesnât this work using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SoloLearn { class Program { static void Main (string[] args) { Int x = 5; Int b = 3; If ( x > b ) { Console.WriteLine(âx is Greater than bâ); } Someone please help explain this to me. Iâm very young so I might just have skipped over something on accident. Iâm just trying to learn coding so I can be successful in the future đ.
9 Antworten
+ 1
Ohhh ok I got it working. Thank you! You helped me clear up alot of things!
+ 1
Opening brackets must be equal to closing brackets
0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SoloLearn
{
class Program
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SoloLearn
{
class Program
{
static void Main (string[] args)
{
Int x = 5;
Int b = 3;
If ( x > b )
{
Console.WriteLine(âx is Greater than bâ);
}
}
}
so like this? I put it in but it still gave me errors đ
0
ohhh Codemonkey then do i have to many open curly brackets?
0
Sorry for so much questions but thank you for helping me
0
where do I place the brackets in between though?
0
woah ok Thank you! Iâll have to learn alot more. đ