GitHubGitHub
  • Welcome to Mirage Docs
  • Unity SDK
    • Set Up
    • Get Started
      • Connect Wallet
      • Interact with Smart Contract
      • Set up SDK
    • Interact with Blockchain
      • Mint NFT
      • Read NFT Data
      • Update NFT
    • How-To Guides
      • Subscribe to Events
      • Switch to WebGL
    • SDK Reference
      • MirageSDKFactory
      • MirageSDKWrapper
      • EthHandler
      • Contract
      • ContractEventSubscriber
      • Aptos Integration
  • Unreal Engine SDK
    • Set Up
      • Unreal Engine v4
      • Unreal Engine v5
    • Get Started
      • Before Start
      • Connect Wallet
      • Write/Read Requests
      • Mint NFT
      • Update NFT
      • View Demo
    • Aptos Integration
  • Extra
    • Understanding Token Standards
    • Events and Subscriptions
    • Gas Fees and Gas-free Methods
    • Currency Units
    • C# and Solidity Types Comparison
  • Welcome to Mirage Docs
  • Unity SDK
    • Set Up
    • Get Started
      • Connect Wallet
      • Interact with Smart Contract
      • Set up SDK
    • Interact with Blockchain
      • Mint NFT
      • Read NFT Data
      • Update NFT
    • How-To Guides
      • Subscribe to Events
      • Switch to WebGL
    • SDK Reference
      • MirageSDKFactory
      • MirageSDKWrapper
      • EthHandler
      • Contract
      • ContractEventSubscriber
      • Aptos Integration
  • Unreal Engine SDK
    • Set Up
      • Unreal Engine v4
      • Unreal Engine v5
    • Get Started
      • Before Start
      • Connect Wallet
      • Write/Read Requests
      • Mint NFT
      • Update NFT
      • View Demo
    • Aptos Integration
  • Extra
    • Understanding Token Standards
    • Events and Subscriptions
    • Gas Fees and Gas-free Methods
    • Currency Units
    • C# and Solidity Types Comparison
Give us feedback →Edit this page on GitHub →
  • Extra
  • C# and Solidity Types Comparison

C# and Solidity types comparison

Here is the comparison of types in C# and Solidity:

C#Solidity
stringaddress
BigIntegeruint8 to uint256
byte[]bytes, bytes1 to bytes32
boolbool
stringstring
Currency Units

© 2023 Mirage All rights reserved | Back to mirage.xyz