# If Constructor

## Overloads

| [If()](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.If.-ctor.htm#Qlik_Engine_If__ctor) |  | Creates an instance of the If class |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.If.-ctor.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.If.-ctor.htm)

## If()

Creates an instance of the If class

### Declaration

```

          public If()
    
  
```