【发布时间】:2022-12-02 12:29:14
【问题描述】:
How does one create a way to perform the following in C#?
If Test-A fails AND Test-B passes
Then the FILE is updated to only have failed the Test-A
If Test-A passes AND Test-B fails
Then the FILE is updated to only have failed the Test-B
If Test-A fails AND Test-B fails
Then the FILE is updated to fail BOTH the Test-A and the Test-B
If Test-A passes AND Test-B passes
Then the FILE is updated to pass BOTH the Test-A and the Test-B
I am trying to help my nephew with his hw but I have no idea.
-
This would be better solved if you went through a C# tutorial for conditionals and file processing. Usually people ask specific code questions after they\'ve written code that doesn\'t seem to work.
标签: c#