C# string methods 🔤

  Рет қаралды 45,044

Bro Code

Bro Code

Күн бұрын

C# string methods tutorial example explained
#C# #string #methods
using System;
namespace MyFirstProgram
{
class Program
{
static void Main(string[] args)
{
String fullName = "Bro Code";
String phoneNumber = "123-456-7890";
//fullName = fullName.ToUpper();
//fullName = fullName.ToLower();
//Console.WriteLine(fullName);
//phoneNumber = phoneNumber.Replace("-","");
//Console.WriteLine(phoneNumber);
//String userName = fullName.Insert(0,"Mr.");
//Console.WriteLine(userName);
//Console.WriteLine(fullName.Length);
String firstName = fullName.Substring(0, 3);
String lastName = fullName.Substring(4, 4);
Console.WriteLine(firstName);
Console.WriteLine(lastName);
Console.ReadKey();
}
}
}

Пікірлер: 39
@BroCodez
@BroCodez 3 жыл бұрын
using System; namespace MyFirstProgram { class Program { static void Main(string[] args) { String fullName = "Bro Code"; String phoneNumber = "123-456-7890"; //fullName = fullName.ToUpper(); //fullName = fullName.ToLower(); //Console.WriteLine(fullName); //phoneNumber = phoneNumber.Replace("-",""); //Console.WriteLine(phoneNumber); //String userName = fullName.Insert(0,"Mr."); //Console.WriteLine(userName); //Console.WriteLine(fullName.Length); String firstName = fullName.Substring(0, 3); String lastName = fullName.Substring(4, 4); Console.WriteLine(firstName); Console.WriteLine(lastName); Console.ReadKey(); } } }
@underun
@underun 2 жыл бұрын
Thank you!
@pauze_play
@pauze_play Жыл бұрын
I swear this guy is better than my teacher. I've learnt 2 programming languages from him and now learning C#. You're a life saver bro!
@Noambeiruty
@Noambeiruty Жыл бұрын
SAME!!!
@Joshuapaul20
@Joshuapaul20 11 ай бұрын
for real like he's a life saver bro
@elliotradley4370
@elliotradley4370 2 жыл бұрын
Bro Code is God tier with the tutorials, keep up the excellent work man
@KathushGaming
@KathushGaming Жыл бұрын
bro you are the best i've watched many tutorials and series wasted time (in that time i could study) but you are the best these tutorials are very simple and easy to learn thanks! keep up the work 👍👍👍👍👍👍👍👍👍👍👍👍👍
@gamingdude7959
@gamingdude7959 8 ай бұрын
Good tutorails, i love these
@WeedmanPro
@WeedmanPro 2 жыл бұрын
good tutorila tortuga tutorial
@urreallysus
@urreallysus 2 жыл бұрын
tutroial
@k4ZZ4r013
@k4ZZ4r013 2 жыл бұрын
tatareal
@pauze_play
@pauze_play Жыл бұрын
tutareal
@Ilijan99
@Ilijan99 7 ай бұрын
tutorials
@WeedmanPro
@WeedmanPro 6 ай бұрын
@@Ilijan99 ah yes
@mohamedsakr8166
@mohamedsakr8166 Жыл бұрын
thanks for the tutorial
3 жыл бұрын
Thanks!
@alexiscoe1040
@alexiscoe1040 3 жыл бұрын
Thanks
@spartanranger
@spartanranger 3 жыл бұрын
Thanks for the video Bro.
@Milkshaco
@Milkshaco 3 жыл бұрын
awesome
@budderrar5751
@budderrar5751 2 жыл бұрын
noice
@definitelynotchris4776
@definitelynotchris4776 4 ай бұрын
woohoo
@the_3d_cookie
@the_3d_cookie 2 жыл бұрын
thanks bro
@DominoDan
@DominoDan Жыл бұрын
thx
@DISAPPOINT814
@DISAPPOINT814 8 ай бұрын
String name = "Bro Code"; String comment = "Best Tutorials ever";
@juriappo354
@juriappo354 2 жыл бұрын
thanks bro,
@simik4830
@simik4830 4 ай бұрын
comment for algorithm!
@whitedinamo
@whitedinamo 3 жыл бұрын
lesson check😇
@H4KnSL4K
@H4KnSL4K 7 ай бұрын
Troz!
@buhletshabalala5303
@buhletshabalala5303 5 ай бұрын
THIS SHII IS TIGHT
@agentyoda2870
@agentyoda2870 Жыл бұрын
PLS I CANT KEEP UP U TALK N TYPE 2 FAST :(
@Joshuapaul20
@Joshuapaul20 11 ай бұрын
bro try to slow mode the vids so you can keep up bro
@pruthvirajchauhan6095
@pruthvirajchauhan6095 3 жыл бұрын
How to swap first name and last name to last name and first name ????
@jaskaranbhullar9510
@jaskaranbhullar9510 3 жыл бұрын
just swap it
@TropicalVids
@TropicalVids 8 ай бұрын
random comment
@agentyoda2870
@agentyoda2870 Жыл бұрын
T-T
@Myotiss22
@Myotiss22 8 ай бұрын
@officiallypaula510
@officiallypaula510 Ай бұрын
Thanks Bro
@babida9113
@babida9113 2 жыл бұрын
Thanks bro
@namrataghorpade9944
@namrataghorpade9944 2 жыл бұрын
Thankyou
C# if statements 🤔
6:27
Bro Code
Рет қаралды 51 М.
C# methods 📞
6:05
Bro Code
Рет қаралды 67 М.
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
30+ String Manipulation Techniques in C#
1:44:07
IAmTimCorey
Рет қаралды 105 М.
C# Lists 📃
6:46
Bro Code
Рет қаралды 115 М.
C# generics ⁉️
5:33
Bro Code
Рет қаралды 84 М.
making squid game in scratch
Jackson Academy
Рет қаралды 34
C# method overriding 🙅
4:02
Bro Code
Рет қаралды 50 М.
C# return keyword ↩️
3:35
Bro Code
Рет қаралды 46 М.
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН