Download miniconda3/share/doc/gettext/examples/hello-csharp/hello.cs from jasonfan/devboxbackup: direct link, hf CLI and curl.
- Browser
- Download file 626 Bytes
-
https://huggingface.co/datasets/jasonfan/devboxbackup/resolve/main/miniconda3/share/doc/gettext/examples/hello-csharp/hello.cs
- Command line
-
hf download hf://datasets/jasonfan/devboxbackup/miniconda3/share/doc/gettext/examples/hello-csharp/hello.cs
-
curl -L -o hello.cs https://huggingface.co/datasets/jasonfan/devboxbackup/resolve/main/miniconda3/share/doc/gettext/examples/hello-csharp/hello.cs
626 Bytes
| // Example for use of GNU gettext. | |
| // This file is in the public domain. | |
| // | |
| // Source code of the C# program. | |
| using System; /* String, Console */ | |
| using GNU.Gettext; /* GettextResourceManager */ | |
| using System.Diagnostics; /* Process */ | |
| public class Hello { | |
| public static void Main (String[] args) { | |
| GettextResourceManager catalog = | |
| new GettextResourceManager("hello-csharp"); | |
| Console.WriteLine(catalog.GetString("Hello, world!")); | |
| Console.WriteLine( | |
| String.Format( | |
| catalog.GetString("This program is running as process number {0}."), | |
| Process.GetCurrentProcess().Id)); | |
| } | |
| } | |