I don't know whether someone has done outsourcing to Japan. If I have done it, I should be very familiar with vb.net. When I first graduated, I had outsourcing for four months.
Even the aunts who bought jewelry under the Building said that these children had only seen them go to work and never saw them go off work, but it was a little better, there's a QA girl.
Point to teach us the melon language, and now we are still hooked up...
Now let's look at the requirements.
①: In C #, we may use TryParse to determine whether the current "a" is an integer.
Main( a = Console.WriteLine(.TryParse(a, }
I think everyone is familiar with this tryparse, but the most annoying thing is that I just want to know if "a" is an integer and define an r variable.
② Use regular expressions
The omnipotent regular expression cannot solve the problem without it. But for it, I still need to write "expressions", which is a little troublesome. I don't like it. I need a simpler method.
a = Console.WriteLine(Regex.IsMatch(a, Console.Read();
a = Console.WriteLine(
When you see this method, is it nice? Let's continue to figure out the namespace. If we know the namespace, can we use C # to solve the problem?
Okay, now we have wiped out the ta, but in the Microsoft. VisualBasic space, we also saw Seven seemingly useful isXXX, which is great ~~~
Next we will add a reference.
Main( a = }
These IsXXX methods are very well-known and I don't need to explain them again. If you are interested, you can try them by yourself. These methods are very useful,
For example, in the IsDate method, it is troublesome to judge whether a string is time in C #, either tryparse, regular, and total
VS is a big platform,