reflectronic
reflectronic
CC#
Created by TimVibes on 9/28/2024 in #help
Null Literal and NUll reference problems
the loop condition is the same deal, you are saying line is never null, but you assign ReadLine() to it, which could be null. it wants you to write string? line instead, to show that line could be null
18 replies
CC#
Created by TimVibes on 9/28/2024 in #help
Null Literal and NUll reference problems
it would like you to return Employees[]? instead, which indicates that it may be null
18 replies
CC#
Created by TimVibes on 9/28/2024 in #help
Null Literal and NUll reference problems
an Employees[] "should not" be null, which is why you are getting the warning
18 replies
CC#
Created by TimVibes on 9/28/2024 in #help
Null Literal and NUll reference problems
i mean, the error is certainly the line return null;, because the function returns Employees[]
18 replies
CC#
Created by TimVibes on 9/28/2024 in #help
Null Literal and NUll reference problems
it tells you it is a warning, not an error
18 replies
CC#
Created by TimVibes on 9/28/2024 in #help
Null Literal and NUll reference problems
well, firstly, those are not errors
18 replies
CC#
Created by yatta on 9/24/2024 in #help
ServiceController refuse to run on window platform
how did you get access to ServiceController
2 replies
CC#
Created by Morridis on 9/24/2024 in #help
✅ [closed] Where do people get .NET 9 RC 2?
the releases are usually done on the second tuesday of the month
24 replies
CC#
Created by Morridis on 9/24/2024 in #help
✅ [closed] Where do people get .NET 9 RC 2?
.NET 9 RC2 is releasing on Oct 8, probably
24 replies
CC#
Created by Morridis on 9/24/2024 in #help
✅ [closed] Where do people get .NET 9 RC 2?
.NET 9 is releasing on Nov 12
24 replies
CC#
Created by Morridis on 9/24/2024 in #help
✅ [closed] Where do people get .NET 9 RC 2?
you can also wait 2 weeks for it to be released officially
24 replies
CC#
Created by Morridis on 9/24/2024 in #help
✅ [closed] Where do people get .NET 9 RC 2?
24 replies
CC#
Created by Morridis on 9/24/2024 in #help
✅ [closed] Where do people get .NET 9 RC 2?
you need to download the daily builds, which are currently of RC2
24 replies
CC#
Created by CyberBotX on 9/23/2024 in #help
Is it possible to use Reflection to replace a static readonly field without the static constructor?
cannot be done
31 replies
CC#
Created by CyberBotX on 9/23/2024 in #help
Is it possible to use Reflection to replace a static readonly field without the static constructor?
reflection does not allow you to set static readonly fields
31 replies
CC#
Created by CyberBotX on 9/23/2024 in #help
Is it possible to use Reflection to replace a static readonly field without the static constructor?
anyway, you can’t do it even if there was no static constructor
31 replies
CC#
Created by juzzi on 9/22/2024 in #help
Compiler Error CS1503 Help
you need to do content.Split(new[] { ", PID: " }, StringSplitOptions.None)
31 replies
CC#
Created by juzzi on 9/22/2024 in #help
Compiler Error CS1503 Help
you are using .NET Framework, which means there is no such method
31 replies
CC#
Created by F0rvbes on 9/22/2024 in #help
VSC & C# newbie, cannot get file to work for the life of me
what about it is not working exactly
14 replies
CC#
Created by it’s raining outside on 9/21/2024 in #help
✅ when programming a CLI in C#...
No description
23 replies