> For the complete documentation index, see [llms.txt](https://docs.iceteagroup.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.iceteagroup.com/general/framework/data-types/automatic-casts.md).

# Automatic Casts

PPJ basic types support automatic casting to the equivalent native .NET type.

Since the implementation simply wraps the equivalent .NET type, casting operation is very simple and it's the same as returning the inner native member.

For example:

```csharp
string name = strName;
```

Is the same as:

```csharp
string name = (string)strName;
string name = strName.ToString();
string name = strName.Value;
```

Therefore when writing new code, or modifying ported code, you can transparently use PPJ types or native types.
