User:BoundedBeans/C Sharp HBCHT Polyglot
Jump to navigation
Jump to search
Here is a very obfuscated polyglot I made. It prints "Hello, world!" followed by a newline in both Half-Broken Car in Heavy Traffic and C#.
public/**/class/**/p{//dj;gh0jy0y0troe0wo0oe0rt000hhhkje0ofgh--eg static/**/int/**/j=32;static/**/void/**/Main(){//we9rtwerti0yh-0- j=32;System.Collections.Generic.List<string>s;//eorgh0o-t-r-r-tgh j=32;s=System.Activator//sdfghoit0rpreo0w0eor0ghno0hgt0reo0o00go0 /*;[*/.CreateInstance<System.Collections.Generic.List<string>>(); s.Add(@"!sewksdpfgp-p---p-p-ew9tfjivbwijf;ergih9i0hog0re0o00fo0gg @outtext;%W(_%W(_%W(_%W(_%W(_%W(_%W(_%W(_%W(_%W(_%W(_%W(_%W(_%W(_ %W(_%v%W(_%W(_%W(_%W(_%W(_%W(_%%%>v%W(_%%%^;45tyhtree-f0bt-tr00o0 >%v%%<%W(_%W(_%W(_%W(_%W(_%W(_%W(_v%W(_%>>^<;eigjhy0tore0o0fg00e0 %%v%%^%%v%W(_%W(_%W(_%W(_%W(_%W(_%v%W(_%^;seifgh0hhgf0wwo0bo-ow-f %W(_%^%%<%W(_%W(_%W(_%W(_%W(_%W(_%v%W(_%^;wijghktoksosblw;tg;[et[ %W(_%W(_^%W(_%W(_%W(_%W(_%W(_%W(_%v%W(_%^;']]][][]][][]-3erg0-rpe %%>%%%/>^<v%W(_%W(_%W(_%W(_%W(_%%%v%W(_%^;'werfghhhhhhhhhwiei0t-- %%^%%>v<%%<%W(_%W(_%W(_%W(_%W(_%%%v%W(_%^wufgh'wkd;weifjgobkpelol %W(_%W(_%%^%W(_%W(_%W(_%W(_%W(_%%%v%W(_%^;wdfghg'fewer'ghjhgrewfi %%^%%%>%/>^<v%W(_%W(_%W(_%W(_%W(_%v%W(_%^%%%#'';wrgohprepopoi0-e3 %%^%%%^>v<%%<%W(_%W(_%W(_%W(_%W(_%v%W(_%^%%%^'s;wghojtorepllpplpp %%^%W(_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>v%<^%W(_%W(_%W(_%%%v%%v%^%^%%%^;dfibjyhkptrepw0f-p-sw ^%^%W(_%W(_%>>^^<%W(_%W(_%W(_%%v%%v%^%W(_%^sd;edfibkgfdwcpcpldppp ^%^%W(_%W(_%^%W(_%W(_%W(_%W(_%%v%%v%^%W(_%^;ijdfrtobkgwkdv0tf0do0 ^%^%W(_%W(_%W(_%W(_%W(_%W(_%W(_v%%>>^<%W(_^i;dkfrtogfkdoqkdfbtfoo ^%^%W(_%W(_%W(_%W(_%W(_%W(_%W(_v%%^%W(_%%w^;sicvoredordokdokoooff ^%^%W(_%W(_%W(_%W(_%W(_%W(_%W(_v%W(_%W(_%%^;sidfjgkytre0sod0fog0t ^%^%W(_%W(_%W(_%W(_%W(_%W(_%W(_v%W(_%W(_%%^;eifgkytgkse0vg0ve0doo ^%^%W(_v%W(_%W(_%W(_%W(_%W(_%%%v%W(_%W(_%%^;difgktytreowkf0f0foff ^%^%W(_<%W(_%W(_%W(_%W(_%W(_%%%v%W(_%W(_%%^;sidfg0h6o5=43[e=dgob0 ^%W(_%>^<%W(_%W(_%W(_%W(_%W(_%%v%W(_%W(_%%^;edfgiy0tore-o0eog0d-- ^%W(_%^%W(_%W(_%W(_%W(_%W(_%W(_v%W(_%W(_%%^;wg-tg-ew--gt0troewo-; ^%W(_%v%W(_%W(_%W(_%W(_%W(_%W(_>%^<%W(_%%%^;sihgow0dfg0tg0fo0wif0 ^%W(_%<%W(_%W(_%W(_%W(_%W(_%W(_^;eifghj0o0oyt0reo0wo0dfogh0o0roe; %W(_>>^<;eigh0yt9iw3#$%^&*IKJHGFDwifkvb0ny0hg0s0ov0bto0reo00fgi00 %>%%^<v;dfg;wikb0nylreiw9i0wfig9h6iyewasfb0noyorewklfgnpptr;t[h;6 %^%>v<<;efigjhiy0rewowjfg0htreiwkofgitrkeww3i4tyhkewiwithg9erg9g9 %%v;eigjhoyktriewjk0ghiytkreoeiiy0trekert0yo032e040to40r30ew9tir0 >v<;sfghtewksuudifighoyitrew0i9ei0g95ire9ieig04i0fig04e0igrt0ir0i %%^;wgkoktre0dofg0to0reo0dfg0tr0eo0fgh5ire0dfigit0ri0dfgit0ti0r00 %>^<;sfgkn-oy0tore0wo-dof-ghyo-ttroew-wod-fbon-johgew00eiof-gto-t %o>v;eijghjouy0ytre//eigho-ytp-wrpg=hy;jh[gf[[[h[h[h[h[h[h[[hgowi %v%>%%^<;sfgohkytrew0ie0fgih0yir0ewiw9dif0yi0treie0et0git0re0ei00 %v%^");System.Console.WriteLine("Hello,"+((char)j)+"world"+/*[.*/ s[0][0]);/*ewoelrhn-mu-ytytr-epw=p=gph=ypj=htrpe=p=gpn=p=p=p=/*;w skw;erwofg0hoytewefghjutrewqwhjjytre*/}/**/}//iek00gor0o0o0ro0o0o