## Boolean class


Statik üyeleri [System.Boolean](./) .[Net](../../system.net/) tipinde tutan sınıf.

```cpp
class Boolean
```

## Yöntemler

| Yöntem | Açıklama |
| --- | --- |
| static [Parse](./parse/)(const String\&) | Belirtilen dizeyi bool türünde bir değere dönüştürür. |
| static [TryParse](./tryparse/)(const String\&, bool\&) | Belirtilen dizeyi bool türünde bir değere dönüştürür. |
## Alanlar

| Alan | Açıklama |
| --- | --- |
| static [FalseString](./falsestring/) | 'false' boolean değerinin [String](../string/) temsili. |
| static [TrueString](./truestring/) | 'true' boolean değerinin [String](../string/) temsili. |
## Açıklamalar



```cpp
#include <system/boolean.h>

using namespace System;

int main()
{
  // Boolean değişkeni oluştur.
  bool isWeekend = false;

  // Girdi dizesini ayrıştır ve sonucu yazdır.
  if (Boolean::TryParse(u"True", isWeekend))
  {
    std::cout << "Is weekend: " << (isWeekend ? "Yes" : "No");
  }
  else
  {
    std::cerr << "Something went wrong" << std::endl;
  }

  return 0;
}
/*
This code example produces the following output:
Is weekend: Yes
*/
```

## Ayrıca Bakınız

* Namespace [System](../)
* Library [Aspose.Page for C++](../../)
