The Sri Lankan IT industry has emerged as a significant player in the global market, specializing in business process outsourcing (BPO) and serving as an offshore development center for numerous Fortune 500 companies from various regions including North America, Europe, and Asia. The industry is known for its Skilled workforce: Sri Lanka boasts a large pool of highly skilled and qualified IT professionals, many of whom are proficient in various programming languages and technologies. Cost-effectiveness: Compared to other outsourcing destinations, Sri Lanka offers competitive rates for IT services, making it an attractive option for businesses seeking to reduce costs. Strong government support: The Sri Lankan government actively supports the development of the IT industry, providing various incentives and infrastructure improvements to attract foreign investment. Some of the well-known global IT companies with a presence in Sri Lanka include: HSBC IFS Intel Motorola WNS RR Donnelley Vi...
As you work with Dart, you may find that minor things stop working. For example: stdout . write ( 'Enter your name : ' ); String ? str1 = stdin . readLineSync (); str1 . isEmpty ? stderr . write ( 'Name is empty!!' ) : stdout . write ( 'Good Morning $str1' ); Error : Property 'isEmpty' cannot be accessed on 'String?' because it is potentially null . Try accessing using ?. instead . str1 . isEmpty Dart is both great and irritating because of this... Dart is rapidly evolving, and each new version introduces a slew of minor changes that might damage your code. Depending on the version of Dart you're running, you may never run across this problem or it may appear at any time. Always check your version's online Dart documentation, as well as the updated Github code attached to each lesson. This specific example is a change to NullSafety: https://dart.dev/null-safety/understanding-null-safety https://stackoverflow.com/qu...
r: Opens the file in read-only mode. Starts reading from the beginning of the file and is the default mode for the open() function. rb: Opens the file as read-only in binary format and starts reading from the beginning of the file. While binary format can be used for different purposes, it is usually used when dealing with things like images, videos, etc. r+ : Opens a file for reading and writing, placing the pointer at the beginning of the file. w: Opens in write-only mode. The pointer is placed at the beginning of the file and this will overwrite any existing file with the same name. It will create a new file if one with the same name doesn't exist. wb: Opens a write-only file in binary mode. w+: Opens a file for writing and reading. wb+: Opens a file for writing and reading in binary mode. a: Opens a file for appending new information to it. The pointer is placed at the end of the file. A new file is created if one with the same name doesn't exist. ab: Opens a file for...
Comments
Post a Comment