Something Ain't right... -_-
I have a small simple problem that I can't seem to figure out the cause to. I have an obvious string that is being read as a char. I'm not sure what that is all about, but I'm looking for a fix.
9 Replies
string listen = "Baka";
thats how you initialize a stringok
Wow. This "dummies" book really knows how to screw with your head. Thanks
what book?
It's a C# 5.0 for Dummies
can u screenshot?
well book is old anyway, we are in c# 11 now
They were explaining lists
i recommend u read from microsoft docs below $helloworld
Written interactive course https://learn.microsoft.com/en-us/users/dotnet/collections/yz26f8y64n7k07
Videos https://dotnet.microsoft.com/learn/videos
And I'll type verbatim
// Instantiate for Student.
List<Student> studentList = new List<Student>();
Student student1 = new Student("Vigil");
studentList.Add(student1);|
Student[] students = {new Student("Mox"), new Student ("Fox") };
Console.WriteLine("Num students in studentList = " + studentList.Count);
and then right after he says, (Don't worry about the "new Student" stuff. I get to that topic in book 2)
I was following exactly what he put down, but it didn't make sense when I tried converting it for self interpretation. I didn't know what "student" was, so I was trying to improvise. I do know quite a bit of the basics, but for some reason this didn't catch my eye. Thanks for that.