Skip to content

Instantly share code, notes, and snippets.

View MikeCodesDotNET's full-sized avatar
💯
Avalonia!

Mike James MikeCodesDotNET

💯
Avalonia!
View GitHub Profile
//Allows for analysing source code
using Microsoft.CodeAnalysis;
//Provides the CSharpScript factory class
using Microsoft.CodeAnalysis.CSharp.Scripting;
//This is where most of the magic happens
using Microsoft.CodeAnalysis.Scripting;
@MikeCodesDotNET
MikeCodesDotNET / RoslynCodeSnippet_2.cs
Last active May 11, 2020 12:40
code snippet for blog post
public static async Task Main(string[] args)
{
Console.WriteLine("Write some C#");
var evaluate = true;
while(evaluate)
{
var input = Console.ReadLine();
if(input == "exit")
//Keys.cs
public class Keys
{
public static readonly string XamarinInsightsKey = "0000";
public static readonly string ParseAppKey = "0000";
public static readonly string ParseDotNetKey = "0000";
}
@MikeCodesDotNET
MikeCodesDotNET / Signup.cs
Last active August 29, 2015 14:22
Parse.com user signup with C#
private async Task ExecuteSignUpUserCommand ()
{
if (IsBusy) {
return;
}
IsBusy = true;
try
{