❔ ✅ I got a cs0053 and a cs0050 can someone please help me fix them
i cant seem to fix these issues because im kinda new to coding
13 Replies
https://learn.microsoft.com/en-us/dotnet/csharp/misc/cs0053
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs0050
If you want more in-depth, you can try posting some $code
To post C# code type the following:
```cs
// code here
```
Get an example by typing
$codegif
in chat
If your code is too long, post it to: https://paste.mod.gg/https://paste.mod.gg/fmnkwnuhxqxb/0 this is the code
BlazeBin - fmnkwnuhxqxb
A tool for sharing your source code with the world!
row 5, 7 and 19 has these errors
Is
Position
private / protected by any chance?
if not mind posting how your position class / struct looks like
Note, not providing an access modifier makes it private
most of the timeinternal
for classes and structs, but yeah
just just have to make Position
publicmy position is an internal clas
if you want to have a public method that returns
IEnumerable<Position>
, like you do here, it has to be publicinconsistent modifiers i guess
oh ok
yeah, what A'on said
it works now when i changed it ty you guys for the help
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.