Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello guys. I have a .NET application which I want to run in Delphi. So I am just wondering if it is possible to put Visual Studio C# source code in Delphi (C#). Will it work?

What I have tried:

I have tried it before but I got an error. But in theory it should work? Will try again when I come home.
Posted
Updated 22-Apr-18 23:10pm
v2

1 solution

No.

Firstly because C# is ... well, C# ... and Delphi is Pascal based, a language with similar roots, but which is not related in any practical way.

Second because C# requires the .NET framework to do anything, the two are very closely related. Delphi does not support .NET - although you can get Delphi for .NET that kinda removes the whole point of getting C# code to run as Delphi...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900