C# Programming Tutorial #3 - Strings in Depth

preview_player
Показать описание
Today we will be going over the String library briefly as well as some other miscellaneous items.

If you have any questions or comments please leave them in the comments section below.
Рекомендации по теме
Комментарии
Автор

Great tutorials, I love them, and I love you!

iRaaptahh
Автор

in some languages, this holds true, but in more languages than not, strings are not natively compatible so languages like C store their strings as arrays of characters. this is why i teach to use capital S string. because it will do you more to get used to that

kaikarden
Автор

and i never said you were wrong. Merely said you're going to have a better time if you recognize that strings are not natural variable types.If you have a bunch of locks and you can choose from a key that just opens 1 lock or a key that opens them all, which would you take?

kaikarden
Автор

No it's really not, you misunderstood my analogy. You are correct about this specific instance of the argument and i tip my hat to you for that; but obviously being better equipped to learn other languages besides just C# is something that doesn't interest you, or evades you completely. Therefore, i see no reason in carrying out this conversation further.

kaikarden
Автор

why would we do a comcat it works like this to
fullname = fname +" " +lname;
Console.WriteLine(fullname);

mariopaulhus
Автор

I apologize for my abrasiveness. I do appreciate your input and i think this entire thread was created by a slight misunderstanding on my part. I will be sure to take the necessary steps to correct the issue. Once again, sorry for the misunderstanding.

kaikarden
Автор

Great tutorials, i have a strang issue though, when i save the console application and open it later via Visual Basic, the code is gone, everything i've typed before is gone. This does not happen with older saves of Windows Application Forms. Why is this and how to solve?

zeupel
Автор

Hi, I experience a problem with String.Concat, whenever i type String.Concat, the error meeage says that the program does not contain a definition for Concat, however my coding is the same as your, can i know what is the problem?

kangthy
Автор

In your analogy (as in the video) you're implying that there is some choice to be made between "string" and "String" (different "keys"). There is no choice, they are the same thing -- same "key".

It's like saying "dad" and "father" are two different things.

AskAboutAI
Автор

In C#, "string" and "String" are exactly the same thing, "string" is just an alias.


AskAboutAI
Автор

Great tutorials, but please slow down so you don't keep on going back to fix all the spelling mistakes.

richardgx
Автор

Actually, "string" and "String" are exactly the same thing.

string is an alias of String

AskAboutAI
Автор

Actually, I'm fluent in 7 languages, including C# (my nephew was watching your videos).

Not sure why you attacked me for giving you a friendly FYI.

It's noble that you do videos, but you should be correct in everything you're teaching.

Because, if you'd said the line at 4:25 in a technical interview, you'd be toast.

(You might want to delete my comments)

AskAboutAI
join shbcf.ru