Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
See more:
Hi, Programmers and Developers...
Please, Help me to understand what meaning of Portability..
Is it depend on Hardware or Software?!
In Windows executable file should be in (.exe) format, but in Linux it is another format, So how can build one program to multiple platforms?!
and I hope give me tiny example about it...
Finaly, Is C# Portability!?
Posted

1 solution

Software is portable if it can be compiled, linked, and executed on a number of different processor architectures.

Usually, portability is not a primary concern when a software architecture or design is being implemented. As a result, a large number of factors can decrease the portability.

For example, if the design specifies the use of the .Net framework, the resulting software will be difficult (and very expensive) to port to another processor that does not have the .Net framework installed. Likewise, if a number of third party vendor software libraries are used, portability will be adversely affected if those libraries are not available on a target machine.

Generally, portability is a software issue. Using a common language, such as C, improves the chances of successfully porting a product from one machine to another. C# on the other hand is not a portable language even though strides have been made to improve its portability.
 
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