Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Or at least give me sample csharp code to call debian functions? I do not know csharp, this project is to help me learn. I will compile code with gmcs; I will run code with mono;
Then you really ought to start by at least trying a simple Web search. (No big surprise, you are not the first person on Planet Earth to want to do something like this.)
Asking someone to convert the code for you teaches you nothing.
Honestly seems like something that should be done in bash or similar, that's a very non-trivial task accomplished trivially using some of the wonderful tools and features of unixlike userlands. Could I perhaps interest you in a non-microsoft developed language? Perhaps a cup o java? Yeah don't learn java either.
Done. No need to use C++. There's no need to even write any program, since there's already one: bash :LOL:
... and You have just made a crippled version of it.
Apparenlty You have no idea what does it mean to "translate" the code from one language to another.
The translation in this case would mean that f.e. the program will directly use the dpkg API (libdpkg) to install the packages - just like this done in Synaptic.