C# output 💬

preview_player
Показать описание
C# output comment escape sequences

#C #output #tutorial

using System;

namespace MyFirstProgram
{
class Program
{
static void Main(string[] args)
{
Console.Write("Hey!");
Console.WriteLine("Hello!");

//This is a comment
/*
* this
* is
* a
* multiline
* comment
*/

Console.WriteLine("BroCode");

Console.ReadKey();
}
}
}
Рекомендации по теме
Комментарии
Автор

using System;

namespace MyFirstProgram
{
class Program
{
static void Main(string[] args)
{
Console.Write("Hey!");
Console.WriteLine("Hello!");

//This is a comment
/*
* this
* is
* a
* multiline
* comment
*/



Console.ReadKey();
}
}
}

BroCodez
Автор

I've watched 10 minutes of your videos and already understand more about C# than +7 hours of lectures in my class.

squatchsage
Автор

Notes:
- to make a multi-line comment, write /* and end with */
- Console.WriteLine writes and creates a new line, while Console.Write just writes text without adding a backspace at the end
3:38 escape sequences (can do useful stuff inside strings, like add quotations, make new line, tab before line etc
- Console.ReadKey(); stops the program from closing automatically, and waits for input first

Pavme
Автор

Extremely underrated series.. keep it up

hareeshmv
Автор

Thanks for your C Sharp videos. It's nice watching this while following other material. Your voice is nice too, which is helpful. Some instructors have super heavy accents, or they speak so fast that you feel like you have to start running to learn. With you, it's allowing us to take baby steps before we can run. Have a wonderful day!

dropestir
Автор

Thanks. I’m in a coding boot camp now and needed this! You make it so much more simple.

xLonewolflifestyle
Автор

Thank you very much! i have been learning from you for the past year and i have been very comfortable with all your videos!
keep the good work up!
I love the concept of coding, and your are my best option, every time i search on youtube for courses, I always add your channel name, I always find an amazing video of yours!
I appreciate the good work and free courses man! i wish i could support you in a better way than subscribing and liking, you are really the best one at making me learn code man...
i just watch your videos and learn more and more about the languages i need to learn from every video! keep it up man!

AbsoluteChaos-qi
Автор

This is that one guy that we need and deserves

gillnabiel
Автор

thanks, I have always wanted to develop games, but never found a good tutorial to teach me how to code until now!

Kiliaaaa
Автор

He just knows how to keep you glued to the screen

elliotradley
Автор

Awesome Bro. YOU MAKE MY LIFE SIMPLE BY GIVING EVERYTHING RELATED TO C#🙂

ayushrajput
Автор

Hey BroCode You know that i learned how to make my first program in C# so fast Thank you ur Tutorials are Easy to understand rather than 8 hours of course in one video

nikosoft
Автор

❤❤❤❤ 0:14❤❤❤I love your video bro code best yt channel 👌 💯. Better than my teacher 😀 ❤❤❤0:18

turkyt
Автор

Can’t thank you enough for making these 🙏

shaegoodman
Автор

know that 2+ years after making this vid its still helping people

yugokenji
Автор

tysm this is exactly what ive been looking for

mrmarriedtothegame
Автор

.NET C# has changed a lot lately. In 2023 it's a new experience with C#. It has kind of become like Python. Can you create some project with C# on Visual Studio 2022 .NET 7 version? LIke creating some Game, and GUI.

HunaBopa
Автор

Can't wait till I fully complete this course😆

codingdisciple
Автор

Secret tip: if you hit your keyboard hard enough, your computer will actually notice it and prioritice it tasks 👍

kettee-qvps
Автор

Hello BroCode. How do I run my code where the output prompts in CMD instead of the terminal or debug console?

veenzbjorn