Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

Sasa Cetkovic

@Sasa Cetkovic
About
Posts
23
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • GetAssemblyVersion, VB style
    S Sasa Cetkovic

    I noticed a pattern that they really like string manipulation - using magic strings, concatenating HTML as strings in ASP Classic, concatenating SQL...

    The Weird and The Wonderful announcement

  • GetAssemblyVersion, VB style
    S Sasa Cetkovic

    It would be almost the same in C#. He could have already gotten everything at Assembly.GetExecutingAssembly().GetName().Version, but he continued to get a string and split it, as any VB6 programmer would prefer. And then, in the next line, he joined the strings with the same character on which he split them, meaning he already had the same result on ToString().

    The Weird and The Wonderful announcement

  • GetAssemblyVersion, VB style
    S Sasa Cetkovic

    Public Shared Function GetAssemblyVersion() As String
    Dim version() As String = Assembly.GetExecutingAssembly().GetName().Version.ToString().Split("."c)
    Return version(0) & "." & version(1) & "." & version(2) & "." & version(3)
    End Function

    Dijkstra was right...

    The Weird and The Wonderful announcement

  • "I understand that you guys recently got new credit card readers..."
    S Sasa Cetkovic

    Teachers who say such things don't really understand linguistics. It cannot be poor grammar if it's 100% correct. And, languages evolve, words get new meanings - a guy may be a man, but guys are a bunch of people of any gender.

    The Lounge csharp asp-net dotnet com security

  • blind micro optimisation
    S Sasa Cetkovic

    Performance is not the main reason to avoid multiple enumeration. Depending on the origin of the source, the collection may be changed between any two enumerations, so the result will be a bug that is extremely hard to reproduce.

    The Lounge csharp com question announcement code-review

  • What do you do in the witching hour? Anyone else have this issue?
    S Sasa Cetkovic

    Drugs are your friend

    The Lounge help question

  • has anybody hired developers from this site?
    S Sasa Cetkovic

    There is a chance, but the rates are significantly lower than in the US.

    The Lounge com question

  • Proper Science Fiction Films
    S Sasa Cetkovic

    Quote:

    Isaac Asimov's Foundation series would make a great TV series.

    It will be available soon on Apple TV+

    The Lounge

  • Updated VS2019 - why exaclty do I need to reboot?
    S Sasa Cetkovic

    I haven't used Unix derivatives for a few years (except MacOS and WSL), but I remember they needed to reboot as often as Windows if you install or update stuff.

    The Lounge help visual-studio question announcement

  • Both Weird & Wonderful - a W10 Surprise
    S Sasa Cetkovic

    How it is supposed to look?

    The Weird and The Wonderful com question announcement

  • It's not often I find a truly interesting blog post on C#...
    S Sasa Cetkovic

    Who reads the entire documentation?

    The Lounge csharp com help tutorial

  • Ergonomic Keyboards anyone?
    S Sasa Cetkovic

    I bought Microsoft Sculpt Ergonomic Desktop a few months ago, I'm very pleased with the shape and feel. Awesome material quality too.

    The Lounge question

  • Best replacement for Silverlight?
    S Sasa Cetkovic

    I would recommend Xamarin Forms. XAML is still relevant, no need to throw it away. Introducing XAML Standard and .NET Standard 2.0 - Building Apps for WindowsBuilding Apps for Windows[^]

    The Lounge csharp wpf game-dev question announcement

  • Building iOS using Xamarin in Visual Studio
    S Sasa Cetkovic

    Xamarin gives you native app performance, unlike JavaScript crap.

    The Lounge help visual-studio csharp swift android

  • Anyone using a serious multimonitor setup? Eyefinity?
    S Sasa Cetkovic

    I'm using two 24" Samsungs (1920×1200 ;P ) and, a few weeks ago, I've found an excellent software when I wanted to extend my taskbar to the second monitor: http://www.actualtools.com/multiplemonitors/ It's a bit pricey, I'm still on the trial version. But it's a much better solution than Eyefinity. AND you do't need an AMD card with their crappy drivers.

    The Lounge graphics sysadmin hardware question workspace

  • The future of felt-tip markers?
    S Sasa Cetkovic

    This is a good idea, but the guy has no idea about colors. You cannot print in RGB.

    The Lounge com question

  • So I gave a dev a choice yesterday
    S Sasa Cetkovic

    I think that you can do everything that can be done in VBA (and more) using Visual Studio. I'm not talking about over-engineering, but simply writing Office pluggins using VSTO.

    The Lounge csharp collaboration career

  • BUG in Windows Calc [modified]
    S Sasa Cetkovic

    On Windows Server 2008 R2 it gives the first answer in scientific mode, and the second in standard mode.

    The Lounge com sysadmin windows-admin tools help

  • Best C# book for Reference
    S Sasa Cetkovic

    You can hardly find any book that will cover almost everything. MSDN Library is the best place to start.

    C# csharp question learning

  • #include or including files
    S Sasa Cetkovic

    The only thing you can do is put all your variables in a public static class and put that class inside your project's namespace. You can then access them with className.variableName. If you declare them as public also, of course.

    C# question csharp
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups