Skip to main content

Limitations

.NET vs TinyCLR

TinyCLR is built for small, secure, embedded products. To keep performance high and application memory maximized on resource-constrained devices, a few features from full .NET are limited or unavailable. Here are the limitations you're most likely to run into, along with workarounds.

  1. Multidimensional arrays are not supported. Use jagged arrays instead — [1][1] rather than [1,1].
  2. Each assembly is limited to 64 KB. For larger codebases, split your solution into multiple assemblies — better maintainability too. Resource files are not subject to this limit, so large lookup tables and binary objects should be included as resources.
  3. A maximum of 64 assemblies can be loaded at once.