As you know, you need to have an embedded .net mini runtime if you want to write your code against it, in C#. You could say, like Win CE.
I hope we'll have low cost .NET mini-mini embedded chips soon in market, or are they already there? Just a little bit interested about this news
http://www.windowsfordevices.com/news/NS4666205829.html
A small startup in Microsoft's
backyard is poised to begin shipping a
tiny, 32-pin chip-like computer module
that runs ".NET Embedded," a new
Microsoft embedded software platform
developed for use in watches and other
"smart personal objects." The module,
developed by startup .netcpu Corp.,
incorporates portions of Microsoft's
Smart Personal Objects Technology
(SPOT) hardware and software.
How ever, here is something interesting for you. Have a look at the COSMOS project. It can translate your IL code to various platforms (and in future to embedded architectures hopefully)
http://www.gocosmos.org/index.en.aspx
Cosmos includes a compiler (IL2CPU,
which is part of Cosmos) that reads
the input file (usually the shell) and
Cosmos libraries and compiles the
resulting IL to x86 code. IL2CPU has a
layer for cross platform and we plan
to support other processors and
platforms, including x64. IL2CPU also
supports certain extension methods
which allow C# code to interact
directly with the CPU, registers, and
ports in the kernel. IL2CPU contains
some inline assembler, but there are
no ASM files that need to be linked
in.
Currently IL2CPU first outputs raw asm
files (with IL comments) and then
processes them through nasm (a free
assembler). Later we plan to emit
directly to binary.