what is the meaning of (Guid) in c#
i saw this while making windows form application while using c# ,working on data set .
what is the meaning of (Guid) in c#
i saw this while making windows form application while using c# ,working on data set .
A little more context would be helpful. I'm guessing that you've found it infront of an expression, in which case it is converting the value of the expression into a value of type Guid
Guid.NewGuid() is calling the static NewGuid() method on the Guid class. 'Guid' is the type name. If you've not changed your IDE colours, it'll show up in a sort of duck-egg blue to indicate it is a type. What this method returns is a Guid instance (i.e. an object of type Guid, not the type itself) that has been poplated with a unique value via one of the GUID generation algorithms.