Delphi for .NET + C #

I have long been a Delphi (D7) developer, I have always been interested in .NET + C # materials. What I mean is not “Delphi for .NET” or “Oxygene” tech / plugin, but pure .NET / C #.

How different is it from Delphi? And some more questions ...

  • Is Mono / SharpDevelop (any others I should know about?) As capable than Non-Free Visual Studio?
  • As for deployment, how does it work? Build + Frame + Executable?
  • The Framework (3.5 latest?) Works something like a JVM for the Java world, right? Does it support support / use of technologies such as multi-core processors or special Windows optimizations?
  • C # has some similarities with Object Pascal, it shouldn't be too hard to adapt, right?

Thank.

+3
source share
3 answers

Repeat the first question: have you tried (for free) VIsual Studio Express Edition ? For many things, this is great. You just do not get so many helpers / designers, nor plug-in support (for IDE extensions).

Re second: excluding some unpleasant tricks , you cannot create a clean executable from .NET; it relies heavily on the structure available on the local machine. An assembly is just an IL package and can be contained (usually) in a DLL or loaded in exe, which loads the entry point of assemblies; but in this case exe is just a simple bootloader plus a regular build.

, CLR JVM; "" BCL. MS + CLR, , Windows , (compact, micro, Silverlight, Mono) .

Re multi-core - ( ), () .NET 4.0 ".

: . , , "reflector "() # delphi ( ).

[ ]

IL = ;.NET , - , ( "Just In Time" (JIT) ). , JIT- IL . , NGen.

CLR = Common Language Runtime; , VM

BCL = ;

: -, .NET ; -p

- . exe/etc . , "robocopy" -.

msi ( VS IDE ).

ClickOnce - , .. , ( ..). Express Edition ClickOnce. ClickOnce , , .

, .NET- , : " " " " ( , (F: ..) ). CASPOL , . ClickOnce ; -p

+4

Marc , D6 #:

  • OOP, ( "var MainForm: TMainForm" ..)
  • ( , )
  • Windows Forms, " .dfm " ( YourForm.Designer.cs) #, . ( WPF XAML.)
  • ( "structs" ) (, "" , , )

:

  • Delphi ( " xxx", " TControlClass: TControl" )
  • ( )

, , , .

+3

Delphi , #, . , # C-, Delphi Pascal. Delphi #, . , , @Alan , . #, Form TForm .. -, . .Net GAC . -, Delphi. . , Delphi # .

0

Source: https://habr.com/ru/post/1698721/


All Articles