ШН
Size: a a a
ﺋﺋ
ﺋﺋ
ﺋﺋ
ﺋﺋ
ﺋﺋ
ﺋﺋ
ﺋﺋ
ШН
using System;
public class Program
{
public enum DocumentKey
{
None = 0,
One = 1,
Two = 2
}
public static void Main()
{
var three = DocumentKey.One | DocumentKey.Two;
Console.WriteLine(three);
var tri = 3;
var kek = (DocumentKey)tri;
if ((kek & DocumentKey.One) == DocumentKey.One)
{
Console.WriteLine("1 yes");
}
if ((kek & DocumentKey.Two) == DocumentKey.Two)
{
Console.WriteLine("2 yes");
}
}
}
ШН
ШН
typeof(SomeType).GetProperties(Binding.Instance | Binding.Static)DM
ﺋﺋ
ﺋﺋ
ШН
ШН
public свойства и только объекта (инстанс)ШН
ШН
ﺋﺋ