Skip to content

Instantly share code, notes, and snippets.

@mzdv
Created May 31, 2016 22:24
Show Gist options
  • Save mzdv/9e5c1fdd99c5d2b15a888854d149cb4a to your computer and use it in GitHub Desktop.
Save mzdv/9e5c1fdd99c5d2b15a888854d149cb4a to your computer and use it in GitHub Desktop.
ThreadStart ts = metoda;
Thread nit = new Thread(ts);
nit.Start();
========> Thread.Sleep(10000);
using (TransactionScope ts = new TransactionScope())
....
ts.Complete();
Pete, pripreme za oba
DateTime.TryParseExact(datum, "dd.MM.yyyy", CultureInfo.InvariantCuture, DateTimeStyles.None, out date); vraca bool
isto iza Int32.TryParse
CITAJ TEKST ZADATKA
KADA JE OPERATIVNA MEMORIJA PRVO SUPER IDEMO LUDI MLADI
ONDA SACUVAS OVAJ GLAVNI
PA ONDA SVE OSTALE OBJEKTE
Bice to dobro :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment