swaysteady
swaysteady
CC#
Created by swaysteady on 1/18/2025 in #help
Defining a protected method with a single call. Failing verification and I can't figure out why
Hey all, I'm making my way through a beginner tutorial at dotnetacademy and I'm at the final exam for the beginner level. I'm getting an error when I try to verify my submission centered around my definition of the PrintQuestion method and I can't figure out what I'm doing wrong. The error I'm getting back when I try to verify my answer reads:
Not all requirements have been met. In your Question class, your 'PrintQuestion' method must have a single Console.WriteLine invocation passing the Label property as the only argument.
...but I do define a PrintQuestion method and it does have a single Console.WriteLine invocation passing the label property as its only property. [part 1/3]
4 replies
CC#
Created by swaysteady on 1/5/2025 in #help
C# fiddle space in Visual Studio
Hey all. I vaguely remember seeing a fiddle space in Visual Studio but I can't remember where. By fiddle space I mean something akin to jsfiddle or codepen.io where I could just mess with C# code without the formality of starting a whole project. If I'm not hallucinating, can someone tell me what that view is called so I can go look up how to get to it? I know I could just use Linqpad but I like Visual Studio's intellisense.
9 replies
CC#
Created by swaysteady on 8/6/2024 in #help
What's this syntax in this object instantiation
No description
6 replies