• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
marcselis Avatar
Name:Marc Selis
Clan:SD Worx
Member Since:Dec 2017
Last Seen:Mar 2023
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (14)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • marcselis
    • commented on "Isograms" csharp solution
    • 2 years ago

    A c# string is nullable per default, unless you explicitly enable the nulllable check in the compiler, which was introduced in .NET 6+.
    And even then you'll only get a warning during compilation time. If you ignore it, the program WILL crash when the string is null during runtime.

  • Custom User Avatar
    • mawh
    • commented on "Isograms" csharp solution
    • 2 years ago

    Yea, but we now know, because the input is string and not string? that the input isn't null ;)

  • Custom User Avatar
    • Joe_Simpson
    • commented on "Remove the minimum" csharp solution
    • 7 years ago

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
    • marcselis
    • commented on "Remove the minimum" csharp solution
    • 7 years ago

    This solution modifies the original list.

  • Custom User Avatar
    • woodenbeluga
    • commented on "Isograms" csharp solution
    • 8 years ago

    by the instruction...
    the string input is not null!

    "Implement a function that determines whether a string that contains only letters is an isogram."

    ...
    a string that contains only letters
    ...

  • Custom User Avatar
    • marcselis
    • commented on "Isograms" csharp solution
    • 8 years ago

    One could opt for true by arguing that there are no characters that appear twice, but one could also opt for false by arguing that null can not be considered a real string and thus cannot be an isogram.
    So, I would expect anything, but not a NullReferenceException.
    Other than that, this is a really nice solution:-)

  • Custom User Avatar
    • Unnamed
    • commented on "Isograms" csharp solution
    • 8 years ago

    What would you expect for null? If you get null instead of a string, it's the most logical and correct behavior.

  • Custom User Avatar
    • realfg
    • commented on "Isograms" csharp solution
    • 8 years ago

    I know but the tests doesn't want me to check for null. So the tests are wrong or at least ignore this case :)

  • Custom User Avatar
    • marcselis
    • commented on "Isograms" csharp solution
    • 8 years ago

    Crashes when str is null

  • Custom User Avatar
    • marcselis
    • commented on "Isograms" csharp solution
    • 8 years ago

    Crashes when str is null

  • Custom User Avatar
    • marcselis
    • commented on "Isograms" csharp solution
    • 8 years ago

    Crashes when str is null

  • Custom User Avatar
    • marcselis
    • commented on "Isograms" csharp solution
    • 8 years ago

    Crashes when str is null

  • Custom User Avatar
    • marcselis
    • commented on "Isograms" csharp solution
    • 8 years ago

    Crashes when str is null

  • Custom User Avatar
    • marcselis
    • commented on "Isograms" csharp solution
    • 8 years ago

    Crashes when str is null

  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...