dotnet log boolean code example

Example 1: bool in c#

bool isCSharpFun = true;
bool isFishTasty = false;
Console.WriteLine(isCSharpFun);   // Outputs True
Console.WriteLine(isFishTasty);   // Outputs False

Example 2: private bool MinimapAutoSpot bf4

public static Int64 m_pSpottingTargetComponentData = 0x0BF0; //SpottingTargetComponentData   public struct PZ_SpottingTargetComponentData //ClientSpottingTargetComponent        {            public enum SpotType            {                SpotType_None,                SpotType_Active,                SpotType_Passive,                SpotType_Radar,                SpotType_Unspottable            };            //SpotType activeSpotType; //0x50             public static Int64 m_spotType = 0x0050; //0x0010;  // SpottingTargetComponentData        };

Tags:

Misc Example