Description
Library/API/IoT binding
core library
Visual Studio version
No response
.NET nanoFramework extension version
No response
Target name(s)
No response
Firmware version
No response
Device capabilities
No response
Description
Failed to have a static field with a Guid parsed from a string.
Reported in Discord server
How to reproduce
No response
Expected behaviour
No response
Screenshots
Sample project or code
public class Program
{
private static Guid baseUuid1 = new Guid("00000000-0000-1000-8000-00805f9b34fb");
private static byte[] baseUuid2 = new Guid("00000000-0000-1000-8000-00805f9b34fb").ToByteArray();
private static string _mac;
public static void Main()
{
Debug.WriteLine("Hello from nanoFramework!");
}
}
Aditional information
No response