Hello,
as my title says: on Windows 10, my console (cmd prompt) does not display Chinese input string by Console.ReadLine (but it displays Chinese non-input strings correctly).
Here is my problematic code-chunk:
using System;
using System.IO;
using System.Text;
namespace 字符
{
class...
I recently completed an small assessment that reads a CSV sheet, then adds to it. This is a C# console app. I'm still learning, and at this point, I can achieve MVP, but it is lacking in SOLID principles or 4 pillars of OOP.
Here is a working method for retrieving a first name from a user...
Hi,
I am new to this forum and C#. I have following code.
Console.WriteLine("Enter a character");
int int1 = Console.Read();
Console.WriteLine(int1);
Console.WriteLine("Enter a string of characters");
string string1 = Console.ReadLine();
Console.WriteLine(string1);
Console.ReadLine();
When I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.