Dyskusje Q&A
C # garbage collection
4 głosów
6 odpowiedziI was playing in the code playground after learning about the String.Concat in the static classes course. I have the following code, and was wondering if it's possible to put a period and space between the two texts, and how to put the second text on the next line.
http://www.sololearn.com/app/csharp/playground/c0rAVF6X3KwP/
-1 Głos
4 odpowiedziFinal keyword
1 Głos
1 OdpowiedźWhat is "static" syntax? C#
0 głosów
3 odpowiedziRecommendation
0 głosów
1 Odpowiedź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 age = Convert.ToInt32(Console.ReadLine());
int broAge = Convert.ToInt32(Console .Readline());
Console.WriteLine("You are {0} years old", "your bro is {1}", age, broAge );
}
}
}
-1 Głos
7 odpowiedziPopularne dzisiaj
HTML
2 Votes
Formating in python
0 Votes
Header, Main, Footer
0 Votes
How to learn this code
1 Votes
How to grow in sololearn
0 Votes
cell growth
0 Votes