A beep from nowhere ... maybe a mistake

This is one of the biggest weird things I've ever seen. There is code to search for all items in a List q variable

    public List<String> SearchQuestion(String fromPart)
    {
        return q.FindAll(r => r.Contains(fromPart));
    }

And this is how I use it mainly

foreach (String s in GameMaster.SearchQuestion("a"))
     Console.WriteLine(s);

The program works, it does not crash at all, but I use a headset, and my ears are almost blown up by the fact that (yes, this is not a mistake on the sound board of the motherboard)

What is wrong with this code? What do these 4 beeps mean?

+4
source share
1 answer

This probably means that (String) scontains 4 characters, which are interpreted as the system character "call".

The old school ASCII encoding for the Bell symbol was 0x07.

, Unicode , U + 0007 . ( , "".)

+3

Source: https://habr.com/ru/post/1545682/


All Articles