.net - Why is GUID attribute needed in the first place? -


what necessity guid attribute? why don't let compiler handle automatically?!

if compiler handled automatically, you'd end 1 of 2 situations.

  • a new guid every time compiled - since guids supposed published, fail.

  • collisions - if guid same every time, based on (say) hash of name, multiple projects end using same guid different purposes.

the existing approach - explicit guid gives developers power control these required.


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -