We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

Translated CSharp

From Esolang
Jump to navigation Jump to search
The title of this article is not correct because of technical limitations. The correct title is actually Translated C#.
I horribly translated this page just for the heck of it. Go, check it out! Translated CSharp/Horribly Translated Page

Translated C# is a esolang made by Mihai Popa. It's C# but horribly translated by Baidu+Google Translate+Yandex+Papago+Microsoft (however you can add more or choose a another pair of translators for a even more horrible translation!)

Steps: 1. Take this program (as a example):

/*
 * C# Program to Read Contents of a File
 */
using System;
using System.IO;
class FileRead
{
    public void readdata()
    {
        FileStream fs = new FileStream("Myfile.txt", FileMode.Open, FileAccess.Read);
        //Position the File Pointer at the Beginning of the File
        StreamReader sr = new StreamReader(fs);
        //Read till the End of the File is Encountered
        sr.BaseStream.Seek(0, SeekOrigin.Begin);
        string str = sr.ReadLine();
        while (str != null)
        {
            Console.WriteLine("{0}", str);
            str = sr.ReadLine();
        }
        //Close the Writer and File
        sr.Close();
        fs.Close();
    }
    public static void Main(String[] args)
    {
        FileRead fr = new FileRead();
        fr.readdata();
    }
}

2. Translate this code as follows (you can take on any translator with any language, if you want):

Baidu: English->Arabic
Google Translate: Arabic->Turkish
Yandex: Turkish->Indonesian
Papago: Indonesian->Thai
Microsoft: Thai->Amharic
Google Translate: Amharic->English

3. Result? Here you go, it's horribly translated with 5 translators using a weird pair of languages:

And
* The program reads the contents of the file.
ᄉ
Use of the system;
Using the system.
Read class files
Q
They read void general data().
Q
fs versionFile = new VersionFile("myfile.class "txt" enabled .read);
Rest the file cursor on the first page of the file.
sr = home reader (fs);
Read to the end of the file.
sr. base stream.seek.seek (0, igin.start)
string = sr readline(;
Will = worthless
Q
console.writeline("{0}, str);
str=file readline(;)
ᄉ
Latest program files and burning.
Sir, I'm sorry. close();
close();
ᄉ
Static Traditional (Argentina Series)
Q
Filaoku fr = Filaokuma (; )
Fr. info (; )
ᄉ
ᄉ

See also

Translated VBS

Translated Python

Translated Julia

Translated Batch

Translated ORK