Click here to Skip to main content
15,889,034 members
Articles / Programming Languages / C#

Refactoring String into the Specific Type

Rate me:
Please Sign up or sign in to vote.
5.00/5 (3 votes)
10 May 2020CPOL2 min read 5.2K   5  
An example when string is too broad type to capture all domain requirements and how to handle it
In this post, you will see cases where string type doesn’t clearly communicate all the necessary properties of a domain in question, and how this can be handled.

Views

Daily Counts

License

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


Written By
Team Leader
Ukraine Ukraine
Team leader with 8 years of experience in the industry. Applying interest to a various range of topics such as .NET, Go, Typescript and software architecture.

Comments and Discussions