kuulie
kuulie
CC#
Created by kuulie on 9/8/2023 in #help
✅ Question about access modifiers
ok thanks guys, how do i close this chat?
34 replies
CC#
Created by kuulie on 9/8/2023 in #help
✅ Question about access modifiers
got it. thanks!
34 replies
CC#
Created by kuulie on 9/8/2023 in #help
✅ Question about access modifiers
ohh right. i can't even access Foo unless I create an instance. and the class is again, internal, by default
34 replies
CC#
Created by kuulie on 9/8/2023 in #help
✅ Question about access modifiers
Foo is internal?
34 replies
CC#
Created by kuulie on 9/8/2023 in #help
✅ Question about access modifiers
class C { public void Foo() {} }
34 replies
CC#
Created by kuulie on 9/8/2023 in #help
✅ Question about access modifiers
too noob to know that
34 replies
CC#
Created by kuulie on 9/8/2023 in #help
✅ Question about access modifiers
i'm reading a book on C# and a section mentioned accessibility capping. then when i asked ChaptGPT it gave me the opposite answer so i wanted to ask here to make sure
34 replies
CC#
Created by kuulie on 9/8/2023 in #help
✅ Question about access modifiers
haha text generator is a good way to look at it
34 replies
CC#
Created by kuulie on 9/8/2023 in #help
✅ Question about access modifiers
ChatGPT is wrong then
34 replies
CC#
Created by kuulie on 9/8/2023 in #help
✅ Question about access modifiers
oh so then capping does exist
34 replies
CC#
Created by kuulie on 4/30/2023 in #help
✅ adding SQLite [Indexed] to a C# class property
oh ok so the column is turned into a b-tree and its used for querying
5 replies
CC#
Created by kuulie on 4/16/2023 in #help
❔ Why is there a green squiggly line under the first Console.ReadLine(); ?
its a naming convention but not necessarily required
68 replies
CC#
Created by kuulie on 4/16/2023 in #help
❔ Why is there a green squiggly line under the first Console.ReadLine(); ?
is this a writing style in C#?
68 replies
CC#
Created by kuulie on 4/16/2023 in #help
❔ Why is there a green squiggly line under the first Console.ReadLine(); ?
the namespace name was automatically set to "CSharpPractice.Classes"
68 replies
CC#
Created by kuulie on 4/16/2023 in #help
❔ Why is there a green squiggly line under the first Console.ReadLine(); ?
when creating class files, does the namespace reflect the folder hierarchy? I have a project call CSharpPractice and a folder called Classes and I attempted to create a class called BankAccount in the Classes folder
68 replies
CC#
Created by kuulie on 4/16/2023 in #help
❔ Why is there a green squiggly line under the first Console.ReadLine(); ?
ahhh so C# really protects againsts errors that would have to do with something thats undefined
68 replies
CC#
Created by kuulie on 4/16/2023 in #help
❔ Why is there a green squiggly line under the first Console.ReadLine(); ?
in python and JS i can console.log something that's undefined?
68 replies
CC#
Created by kuulie on 4/16/2023 in #help
❔ Why is there a green squiggly line under the first Console.ReadLine(); ?
yeah memory is only at runtime
68 replies
CC#
Created by kuulie on 4/16/2023 in #help
❔ Why is there a green squiggly line under the first Console.ReadLine(); ?
oh i never thought of it in that way
68 replies
CC#
Created by kuulie on 4/16/2023 in #help
❔ Why is there a green squiggly line under the first Console.ReadLine(); ?
so i asked ChatGPT (the thing that knows nothing) more questions and it said local variables like string s; do have a memory location on the stack. So since it technically has a memory location, wouldn't it be more technically correct to say it's uninitialized than to say undefined?
68 replies