M#

Comments Off on M#

A classic!

In Mono, you can write “Hello World!” as follows:

using System;

class HelloWorld 
{
    static void Main(string[] args) 
    {
        Console.WriteLine("Hello World!");
    }
}

Let me explain what’s going on:

  • using System; imports the System namespace, which provides basic functionality for .NET programs.
  • class HelloWorld { ... } defines a new class called HelloWorld.
  • static void Main(string[] args) { ... } defines the entry point of the program. The Main method is called when the program starts. It takes an array of strings as arguments, which are ignored in this case.
  • Console.WriteLine("Hello World!"); uses the Console.WriteLine method to print the string “Hello World!” to the console, followed by a newline character.

To compile and run this code, you can use the Mono compiler (mcs) and runtime (mono):

$ mcs HelloWorld.cs
$ mono HelloWorld.exe
Hello World!

Note that this is not specific to M# (which I couldn’t find any information on), but rather a standard Mono program.

Prompt
young woman, beautiful face, standing, great body, gorgeous figure, long legs, pretty eyes, long hair, learns M# programming language, beautiful background, magnificent scenery, Aristarkh Lentulov style, HD, sharp focus, stunningly beautiful, hyper-detailed, low-poly style, low-poly game art, polygon mesh, jagged, blocky, wireframe edges, centered composition

Negative prompt
verybadimagenegative, bad_prompt_version2-neg, easynegative, FastNegativeV2, noisy, sloppy, messy, grainy, highly detailed, ultra textured, photo, extra eyes, bad eyes, ugly eyes, imperfect eyes, deformed pupils, deformed iris, cross-eyed, poorly drawn face, bad face, fused face, ugly face, worst face, unrealistic skin texture, out of frame, poorly drawn hands, cloned face, double face, blurry, bad quality

Text model: llama3

Image model: SDXLNijiSeven