- 1

I'm just a beginner so plz help me

2nd Nov 2016, 3:24 PM
Riyaz Ahmed
Riyaz Ahmed - avatar
10 odpowiedzi
+ 2
college learnings r totally basics of subject and to develop understandings in students. although some students achieve some good knowledge in college. if u r a fresher better don't worry too much all have gone through this.just learn from what u see here. I understand in start u will gain less but after some times it would be easy. also here I saw very helpful people so u can always post where u face problems.
2nd Nov 2016, 3:50 PM
Shekhar Bahuguna
Shekhar Bahuguna - avatar
+ 1
what help u need? old share with details
2nd Nov 2016, 3:42 PM
Shekhar Bahuguna
Shekhar Bahuguna - avatar
+ 1
Since your tags are c# and input, I assume you don't know how to read user input. You need to be more specific, also on SoloLearn C# course you learn all that. if you want to read a string it goes as follows, you can also copy paste this into your project inside the Main method: //Asks for user input Console.WriteLine("Write something that you feel like:"); //Reads the string and stores it into a string variable called str string str = Console.ReadLine(); //Asks the user to put in a number Console.WriteLine("Now write any number"); /*stores input in an integer called integer. int.Parse function is needed to convert the input string into an Integer*/ int integer = int.Parse(Console.ReadLine()); /*Outputs the string: str and int: integer \n means next lines and .ToString() method is needed to assure there are no error when trying to print an Integer, we make it actually to a string*/ Console.WriteLine("Your string is: " + str + "\nand your number is: " + integer.ToString() ); //Used to read the console, otherwise it would just close immediately Console.ReadLine();
2nd Nov 2016, 3:51 PM
Florian Schwarzer
+ 1
Void Main is the entrance point of every console application, that's why it needs to be there. Don't worry too much what it actually means. Go through the C# course and you'll find yourself making very fast progress. Also if you haven't done yet, I would recommend you to download Visual Studio.
2nd Nov 2016, 4:04 PM
Florian Schwarzer
0
What you need help with?
2nd Nov 2016, 3:35 PM
Florian Schwarzer
0
I don't knw any of the basics
2nd Nov 2016, 3:36 PM
Riyaz Ahmed
Riyaz Ahmed - avatar
0
Sir I'm very confused Abt programmes Which I have learnt in my clg nd which I have learning here
2nd Nov 2016, 3:45 PM
Riyaz Ahmed
Riyaz Ahmed - avatar
0
Sir why we use #include,void main ()
2nd Nov 2016, 3:53 PM
Riyaz Ahmed
Riyaz Ahmed - avatar
0
thank you sir
2nd Nov 2016, 4:09 PM
Riyaz Ahmed
Riyaz Ahmed - avatar
0
// this is a comment. thisonly effects one line /*this is a bigger comment. It effects multiple lines/*
4th Nov 2016, 1:17 AM
julio