Hello guys! Any idea how to generate custom ids for objects?

I am currently using C#.