mirror of https://gitlab.com/ita1024/waf
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
395 B
C#
25 lines
395 B
C#
using System;
|
|
|
|
public class Dye {
|
|
private string msg = "";
|
|
|
|
public Dye(string _msg) {
|
|
msg = _msg;
|
|
}
|
|
|
|
private static string PointerSizeDescription {
|
|
get {
|
|
if (IntPtr.Size==8) {
|
|
return "64-bit";
|
|
} else if (IntPtr.Size==4) {
|
|
return "32-bit";
|
|
}
|
|
return "Unknown";
|
|
}
|
|
}
|
|
|
|
public void display() {
|
|
System.Console.WriteLine("{0} ({1})", msg, PointerSizeDescription);
|
|
}
|
|
}
|