+ 1
I need help. String a = Console.Readline (); İf ( a!= number) ... a must be number if isnt number console.writeline ( "no")
9 Réponses
+ 4
oh, haha) I m a beginner) So reading is hard)
+ 3
so hard to read your code...really...
+ 2
you may use bool
+ 2
Thanks i found
+ 2
using System;
using System.Linq;
// https://www.sololearn.com/Discuss/789684/?ref=app
namespace SoloLearn
{
class Program
{
static void Main(string[] zephyr_koo)
{
var input = "jdiu8488HG+;+$jxjB67z"; // Console.ReadLine();
Console.WriteLine(GetByLetterFilter(input));
}
static string GetByLetterFilter(string input)
{
return new string(input.Where(c => char.IsLetter(c)).ToArray());
}
}
}
+ 2
Finnaly not char.IsLetter
+ 2
Is.Digit
+ 2
But not my code:))
+ 1