by Kambiz » June 16th, 2008, 2:47 pm
C# and .NET libraries sound familiar to Delphi and Java developers, and I am sure you already know why.
The good thing of .NET is that you do not need to invent wheel every time that you want to develop an application, and because of that the .NET library is huge. And obviously for someone that wants to get benefits of .NET, C# is the best choice so that it is designed natively for .NET.
Although managed code is slower than native one, I believe it is not a big issue on today computers. Anyway, in cases that speed is a matter, we can use native code and even call it from the managed code.
you can consider XAML of WPF as DFM files of Delphi. However it is more powerful because beside using GPU for rendering UI, it gives UI designers more flexibility. In XAML, like a web page you can define style for every single control; use data templates to specify how data appears on the controls, bind any kind of data (or property) to properties of controls, define triggers to animate or change style of a control based on value changes of a property (or data) or raising an event, and much more that I didn't learn yet. I do suggest to download XAMLPad (is an MS Tool) and paste some XAML code inside it to see what I mean.
Do you know what, I was really sick and tired of writing wrappers for C/C++ libraries to use them inside Delphi. In C# everything is already there and ready to use. Life is so easier now.
Last edited by
Kambiz on June 25th, 2008, 11:14 am, edited 1 time in total.
Kambiz