Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,10 @@
|
|||
using System;
|
||||
using System.Linq;
|
||||
|
||||
internal class Program
|
||||
{
|
||||
private static void Main()
|
||||
{
|
||||
Console.WriteLine(String.Concat(Enumerable.Range('a', 26).Select(c => (char)c)));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
namespace RosettaCode.GenerateLowerCaseASCIIAlphabet
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
internal class Program
|
||||
{
|
||||
private static IEnumerable<char> Alphabet
|
||||
{
|
||||
get
|
||||
{
|
||||
for (var character = 'a'; character <= 'z'; character++)
|
||||
{
|
||||
yield return character;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static void Main()
|
||||
{
|
||||
Console.WriteLine(string.Join(string.Empty, Alphabet));
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue