This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var s="var s={0}{1}{0};Write(s,(char)34,s);";Write(s,(char)34,s); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Project Sdk="Microsoft.NET.Sdk"> | |
<PropertyGroup> | |
<OutputType>Exe</OutputType> | |
<TargetFramework>net6.0</TargetFramework> | |
<ImplicitUsings>enable</ImplicitUsings> | |
<Nullable>enable</Nullable> | |
</PropertyGroup> | |
<ItemGroup> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var s="var s={0}{1}{0};Console.Write(s,(char)34,s);";Console.Write(s,(char)34,s); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// <auto-generated/> | |
global using global::System; | |
global using global::System.Collections.Generic; | |
global using global::System.IO; | |
global using global::System.Linq; | |
global using global::System.Net.Http; | |
global using global::System.Threading; | |
global using global::System.Threading.Tasks; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Project Sdk="Microsoft.NET.Sdk"> | |
<PropertyGroup> | |
<OutputType>Exe</OutputType> | |
<TargetFramework>net6.0</TargetFramework> | |
<ImplicitUsings>enable</ImplicitUsings> | |
<Nullable>enable</Nullable> | |
</PropertyGroup> | |
</Project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var s="var s={0}{1}{0};System.Console.Write(s,(char)34,s);";System.Console.Write(s,(char)34,s); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class c{static void Main(){var s="class c{{static void Main(){{var s={0}{1}{0};System.Console.Write(s,(char)34,s);}}}}";System.Console.Write(s,(char)34,s);}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class c | |
{ | |
static void Main() | |
{ | |
var s = "class c{{static void Main(){{var s={0}{1}{0};System.Console.Write(s,(char)34,s);}}}}"; | |
System.Console.Write(s, (char)34, s); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface Navigator { | |
setAppBadge(value: number): void; | |
clearAppBadge(): void; | |
} | |
namespace Windows.UI.Notifications { | |
export class BadgeUpdater { | |
public static setNumber(value: number) { | |
if (navigator.setAppBadge) { | |
navigator.setAppBadge(value); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public partial class BadgeUpdater | |
{ | |
private const string JsType = "Windows.UI.Notifications.BadgeUpdater"; | |
partial void SetBadge(string? value) | |
{ | |
if (int.TryParse(value, out var number)) | |
{ | |
WebAssemblyRuntime.InvokeJS($"{JsType}.setNumber({number})"); | |
} |