Skip to main content

Convert to System Type

Replaces a language-specific type identifier to the corresponding .NET Framework type. For example, this refactoring will convert int to System.Int32 in C#.

#Availability

Available from the context menu or via shortcuts:

  • when the edit cursor, or caret is on a language-specific type identifier.

#Notes

#Examples

private int myField = 15;
private myField As Integer  = 15

Result:

private Int32 myField = 15;
private myField As Int32  = 15

#Screenshot

rsConvertToSystemType