This does not generate UNIQUE ids, only RANDOM ids. There is nothing preventing the generation of an id that has been previously generated. If you want unique ids, use Guids.
String id = Guid.NewGuid().ToString();
No, I think Chill has done the right thing here. Remove and warn is fine by me for an inadvertent first offence! :laugh:
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
That's pretty interesting. Thanks for sharing. I suppose that there is still enough of those cars around that the service providers cannot flag duplicate IMSI numbers for shenanigans. Except if they have a policy by which you have to notify them in advance to have your IMSI white-listed for duplicates.
What is this talk of release? I do not release software. My software escapes leaving a bloody trail of designers and quality assurance people in its wake.
Oh, good to know. I was getting a bit worried.
What is this talk of release? I do not release software. My software escapes leaving a bloody trail of designers and quality assurance people in its wake.
A little windy but lovely. Bright and sunny. SoCal is the best place to live. :thumbsup:
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. Those who seek perfection will only find imperfection nils illegitimus carborundum me, me, me me, in pictures
OK, fair enough. I didn't even realize I was using such an outdated version when I reported this.
What is this talk of release? I do not release software. My software escapes leaving a bloody trail of designers and quality assurance people in its wake.
Too much bouncing?
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt
I have seen one where that goes 6 levels deep. X|
brisingr_aerowing@Gryphon-PC $ rake in_the_dough Raking in the dough brisingr_aerowing@Gryphon-PC $ make lots_of_money Making lots_of_money
Thx mate. Interestingly I've been using Chrome for more than a year and only now has it suddenly started happening. I guess it could have been caused by a recent Chrome update.
.dan.g. AbstractSpoon Software
email: abstractspoon2(at)optusnet(dot)com(dot)au
You're welcome!
The quick red ProgramFOX jumps right over the Lazy<Dog>. My latest article: Understand how bitwise operators work (C# and VB.NET examples) My group: C# Programmers Group
Thanks, but this isn't quite what I was looking for. I'm not looking to share and browse pieces of commonly used code (although this is useful and I'm definitely bookmarking that site), I'm looking to share and browse the XML-based code snippets that Visual Studio use to, for instance, turn propfull into
private int myVar;
public int MyProperty
{
get { return myVar;}
set { myVar = value;}
}
So, what I'd like to post is XML like the following:
<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>propfull</Title>
<Shortcut>propfull</Shortcut>
<Description>Code snippet for property and backing field</Description>
<Author>Microsoft Corporation</Author>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
</SnippetTypes>
</Header>
<Snippet>
<Declarations>
<Literal>
<ID>type</ID>
<ToolTip>Property type</ToolTip>
<Default>int</Default>
</Literal>
<Literal>
<ID>property</ID>
<ToolTip>Property name</ToolTip>
<Default>MyProperty</Default>
</Literal>
<Literal>
<ID>field</ID>
<ToolTip>The variable backing this property</ToolTip>
<Default>myVar</Default>
</Literal>
</Declarations>
<Code Language="csharp"><![CDATA[private $type$ $field$;
public $type$ $property$
{
get { return $field$;}
set { $field$ = value;}
}
$end$\]\]>
</Code>
</Snippet>
</CodeSnippet>
</CodeSnippets>