I am looking for a library that can be used in .NET to retrieve strings of random names(John, Peter), items(table, bottle), objects etc
I want to use this in a database-filling operation and the requirement is that the data should look real.
I am looking for a library that can be used in .NET to retrieve strings of random names(John, Peter), items(table, bottle), objects etc
I want to use this in a database-filling operation and the requirement is that the data should look real.
This isn't a .NET library, but you could try Red Gate's SQL Data Generator tool.
Your requirement is specific enough so it's obvious that there is no built-in library to do the job. You could however download lists of names(first/last) from the internet and feed it to your database.
One such names list can be found here. Additionally, sites like Namepedia and Randomnames.com may prove helpful.
If you're using SQL Server, maybe try using one of the sample databases such as AdventureWorks, e.g.
select top 10 FirstName, LastName
from AdventureWorks.Person.Contact order by newid()