๐—œ๐—ป๐˜๐—ฒ๐—ฟ๐˜ƒ๐—ถ๐—ฒ๐˜„ ๐—ค๐˜‚๐—ฒ๐˜€๐˜๐—ถ๐—ผ๐—ป ๐—ง๐—ต๐—ฎ๐˜ ๐—ง๐—ฟ๐—ถ๐—ฐ๐—ธ๐—ฒ๐—ฑ ๐— ๐—ฎ๐—ป๐˜†!

๐—œ๐—ป๐˜๐—ฒ๐—ฟ๐˜ƒ๐—ถ๐—ฒ๐˜„ ๐—ค๐˜‚๐—ฒ๐˜€๐˜๐—ถ๐—ผ๐—ป ๐—ง๐—ต๐—ฎ๐˜ ๐—ง๐—ฟ๐—ถ๐—ฐ๐—ธ๐—ฒ๐—ฑ ๐— ๐—ฎ๐—ป๐˜†!

Publish Date: Oct 14 '25
1 0

Hey everyone

Recently, an interviewer asked this C# question to my friend during a technical interview.

He solved it โ€” but I thought itโ€™s a great one to share with all of you!

I am sharing the coding snippet image. Can you figure it out too?

Looks simple, right?

But thereโ€™s a small mistake here that causes a runtime error.

Can you find whatโ€™s wrong in this code?

How would you fix it so that it runs without errors and prints all the characters correctly?

Drop your answers in the comments
Letโ€™s see how many of you can spot it!

Comments 0 total

    Add comment