Valadi
پنج شنبه 23 اسفند 1386, 08:17 صبح
امکاناتی که C# دارد و Delphi ندارد:
foreach
operators using, lock, checked and unchecked
block scoped variables
case statements with strings
assembly internal classes
namespaces can span code units
implicit array dimensioning: int[] a = new int{1,2,3};
ternary operator ( ? : )
can use classes from namespaces without importing the whole namespace
circular references are possible
try..catch..finally
assignment operators (+=, ++, -=, etc)
multi-file assemblies
You don't need to distribute Borland.Delphi.dll
امکاناتی که Delphi دارد و C# ندارد:
sub-range types
enums and sets are first-class types
class type support
virtual constructors
virtual class methods
class references
nested procedures
non-default index properties
can defines constant arrays and records
resourcestrings
default parameters
variants
arrays with non-integral subscripts
sets with more than 64 elements
message handlers
unions (variant records)
untyped parameters
const parameters
class helpers
smart linker
named constructors
array properties
unmanaged exports
super fast single pass compiler, compiling any project faster than C#, using less memory at the same time.
به نظر منکه فقط مورد 24 Delphi به همه خصوصیات C# می ارزه ;-).
foreach
operators using, lock, checked and unchecked
block scoped variables
case statements with strings
assembly internal classes
namespaces can span code units
implicit array dimensioning: int[] a = new int{1,2,3};
ternary operator ( ? : )
can use classes from namespaces without importing the whole namespace
circular references are possible
try..catch..finally
assignment operators (+=, ++, -=, etc)
multi-file assemblies
You don't need to distribute Borland.Delphi.dll
امکاناتی که Delphi دارد و C# ندارد:
sub-range types
enums and sets are first-class types
class type support
virtual constructors
virtual class methods
class references
nested procedures
non-default index properties
can defines constant arrays and records
resourcestrings
default parameters
variants
arrays with non-integral subscripts
sets with more than 64 elements
message handlers
unions (variant records)
untyped parameters
const parameters
class helpers
smart linker
named constructors
array properties
unmanaged exports
super fast single pass compiler, compiling any project faster than C#, using less memory at the same time.
به نظر منکه فقط مورد 24 Delphi به همه خصوصیات C# می ارزه ;-).