DCSIMG
C# - Asaf Shelly

Browse by Tags

השב"כ מחפש מומחה ארכיטקטורת פיתוח
Friday, September 23, 2011 5:27 AM
השב"כ מחפש מומחה ארכיטקטורת פיתוח וזה נשמע לי תפקיד מפתה ויוקרתי מאד. אני מפרסם את זה בין השאר כי לא נפתחות הרבה משרות לארכיטקטים. קישור למודעה: https://www.shabak.gov.il/jobs/alljobs/computres/Pages/129.aspx אפשר לשלוח קו"ח גם אל: it. shabak@gmail.com בהצלחה, אסף Read More...
by AsafShelly | with no comments
תגים:, , ,
C# Library Version
Tuesday, May 24, 2011 8:19 PM
Colleting this from different sources. Looking for a library version similar to __DATE__ __TIME__ you need to use: System . Reflection . Assembly . GetExecutingAssembly (). GetName (). Version . ToString () For this to change every build you need to go to project properties, 'Application' tab, open 'Assembly Information', and set the last value... Read More...
by AsafShelly | with no comments
תגים:,
C# Convert Generic Type
Sunday, April 03, 2011 2:09 PM
I am posting this because I didn't see a simple solution on the first few hits when searching the net. If you have a generic class of type T and you want to using it with basic types such as int, long, etc. You can use the following method to do the casting: class myClass<T> { private int myVal; public T Get() { return ((T)(Convert.ChangeType(myVal... Read More...
by AsafShelly | with no comments
תגים:,
My Conclusions on Parallel Computing
Sunday, April 11, 2010 10:33 AM
After practicing parallel computing for a long while I have decided that it is time to summerise things as I see them so far. See the post in the link below: My Conclusions on Parallel Computing Asaf Read More...
Exception by target of an invocation
Thursday, April 01, 2010 6:38 PM
Parallel Programming means that we use invocations more often than we did before. Visual Studio 2008 debugger will bring you to the correct line if you get an exception, but if you invoke a method within your own code the debugger will show you the location in your own thread, which means the line that invoked the code that eventually threw an exception. The... Read More...
C# Activate Previous Application Instance
Tuesday, March 09, 2010 5:50 PM
Continuing the following post and as an answer to Jasper: http://blogs.microsoft.co.il/blogs/asafshelly/archive/2010/03/02/c-close-previous-application-instance.aspx The following code will make sure that only one instance is running by exiting if an instance is already running, and activating that instance. [ DllImport ( "user32.dll" )] static extern... Read More...
by AsafShelly | 2 comment(s)
תגים:,