Nora
Nora
CC#
Created by Nora on 2/4/2023 in #help
✅ Help with absorbing basic concepts learned
Thanks for the suggestions
6 replies
CC#
Created by Nora on 1/2/2023 in #help
✅ Using System.Collections.Generic Wide-ranging Type? (T), but limiting to fewer options
If my potato laptop doesn't crash by then
18 replies
CC#
Created by Nora on 1/2/2023 in #help
✅ Using System.Collections.Generic Wide-ranging Type? (T), but limiting to fewer options
Thanks! I'll try to update it
18 replies
CC#
Created by Nora on 1/2/2023 in #help
✅ Using System.Collections.Generic Wide-ranging Type? (T), but limiting to fewer options
lmao, it is 5.0.408 😂
18 replies
CC#
Created by Nora on 1/2/2023 in #help
✅ Using System.Collections.Generic Wide-ranging Type? (T), but limiting to fewer options
Sure
18 replies
CC#
Created by Nora on 1/2/2023 in #help
✅ Using System.Collections.Generic Wide-ranging Type? (T), but limiting to fewer options
Oh, I've seen the "where" keyword occasionally on Microsoft examples, seems like would be an interesting thing to learn
18 replies
CC#
Created by Nora on 1/2/2023 in #help
✅ Using System.Collections.Generic Wide-ranging Type? (T), but limiting to fewer options
Oh, might be. I read in the "terminal?" that "XYZ feature isn't available in .NET 8.0, only available in .NET 9.0", not the exact wording, but you get it.
18 replies
CC#
Created by Nora on 1/2/2023 in #help
✅ Using System.Collections.Generic Wide-ranging Type? (T), but limiting to fewer options
Sorry, what do you mean?
18 replies
CC#
Created by Nora on 1/2/2023 in #help
✅ Using System.Collections.Generic Wide-ranging Type? (T), but limiting to fewer options
I'm using .NET 8.0
18 replies
CC#
Created by Sam DZ on 1/2/2023 in #help
✅ how to know the index of repeated items in list ?
Thanks!
20 replies
CC#
Created by Sam DZ on 1/2/2023 in #help
✅ how to know the index of repeated items in list ?
Seems like it would save some efforts editing the names/types when you need a change
20 replies
CC#
Created by Sam DZ on 1/2/2023 in #help
✅ how to know the index of repeated items in list ?
Is it a good practice?
20 replies
CC#
Created by Sam DZ on 1/2/2023 in #help
✅ how to know the index of repeated items in list ?
List<int> indicies = new();
List<int> indicies = new();
Wow, I didn't know we could write it this way
20 replies
CC#
Created by Nora on 1/2/2023 in #help
✅ Error CS7036 - while trying to inherit a class
See you around!
44 replies
CC#
Created by Nora on 1/2/2023 in #help
✅ Error CS7036 - while trying to inherit a class
That's it for now, I won't bother you anymore
44 replies
CC#
Created by Nora on 1/2/2023 in #help
✅ Error CS7036 - while trying to inherit a class
Thanks! You've been sooo helpful
44 replies
CC#
Created by Nora on 1/2/2023 in #help
✅ Error CS7036 - while trying to inherit a class
Is it possible to pass a Librarian object into a method requiring a Person parameter?
public static SayHello(Person personObj)
{
//code
}
public static SayHello(Person personObj)
{
//code
}
Librarian lib = new Librarian("Sarah", 21);
SayHello(lib);
Librarian lib = new Librarian("Sarah", 21);
SayHello(lib);
44 replies
CC#
Created by Nora on 1/2/2023 in #help
✅ Error CS7036 - while trying to inherit a class
I see!
44 replies
CC#
Created by Nora on 1/2/2023 in #help
✅ Error CS7036 - while trying to inherit a class
Wait, wait, just a knowledge check for me, so is the Librarian known by the compiler as a "Person" instead of a Librarian? Because we instantiated a Person, then built upon that foundation... right?
44 replies