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
I

Igor Velikorossov

@Igor Velikorossov
About
Posts
26
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Working in America question [modified]
    I Igor Velikorossov

    LOL, fair enough I'm bringing my woman here instead of moving off to somewhere else ;P

    The Lounge question career csharp com lounge

  • Working in America question [modified]
    I Igor Velikorossov

    Super Lloyd wrote:

    But I was also under the impression it doesn't apply to the Tech industry, at least it's as good as ever now in Australia for .NET programmers!

    Soooo.... Why leave all the goodies here and head off to the states? :doh:

    Ennis Ray Lynch, Jr. wrote:

    Depends on what you will work for. If you are fluent in English with 4+ years and will work in a major metropolitan area (expensive) for contracts of less than 6 months at a time (very expensive) for less than $35 an hour U.S.D. I can guarantee you that you will land a job with a company that will sponsor you in less than two weeks. Heck, at $25 an hour they may offer you a signing bonus.

    $35ph, you're kidding right? In Sydney a half decent .net wouldn't work for less than $50ph, and a decent one for less than $70ph... And the morning rate was US$0.91 = AU$1

    The Lounge question career csharp com lounge

  • Find unique strings for a string array
    I Igor Velikorossov

    no worries ;)

    C# data-structures tutorial question

  • Find unique strings for a string array
    I Igor Velikorossov

    ...yes, assuming he's using .net 3+

    C# data-structures tutorial question

  • Find unique strings for a string array
    I Igor Velikorossov

    List<string> newArray = new List<string>();
    foreach (string token in yourArray)
    {
    if (!newArray.Contains(token))
    {
    newArray.Add(token);
    }
    }

    C# data-structures tutorial question

  • Find unique strings for a string array
    I Igor Velikorossov

    from what I know there's no such thing and you'd have to iterate thru and pick the unique ones manually. it's not that difficult you know ;)

    C# data-structures tutorial question

  • NativeMethods is inaccesible due to its protection lavel
    I Igor Velikorossov

    if you've trying to use NativeMethods from BLC then you're getting the error correctly for all of those are marked as "internal". Hence you can't access them directly. You can always cheat and use Reflection or simply cut n'paste the code from the Reflector....

    C# help question

  • code aesthetics
    I Igor Velikorossov

    If I may I add my 2c I would normally strongly encourage to have all personnel involved in development familiarised with Microsoft .NET Framework Design Guidelines. These guidelines set out naming conventions, file organisation and many other rules making the code readable and easy to maintain. There are number of resources worth reading, such as follows: 1. published by Brad Adams (founding member of both the Common Language Runtime, and .NET Framework teams) a) Microsoft Internal Coding Guidelines[^] - a good start and something I do follow myself. b) plenty of other guidelines[^] worth checking out in a free time 2. Design Guidelines for Class Library Developers on MSDN[^] 3. every now and then Krzysztof Cwalina's blog[^] is a good read too (at least it used to be) Secondly I would strongly encourage the code documentation. Whilst I do perfectly understand that documenting the code has been the bane of all programmers since the day 1 (and I also suffer from it), I believe it is imperative to write documentation. The main rule - explain NOT WHAT the code does but WHY you've written it this way. Again I would strongly encourage to make a habit of documenting (at least) all publicly exposed objects (types, classes, methods, properties etc) using XML documentation. A good start: here[^] and here[^] Because I work with .NET all of the above mainly applies to .NET stuff, yet it could still make sense for those working with other languages/technologies.

    The Lounge com question discussion

  • Adding A Record (Sql Server 2005 Compact Edition and Visual Studio 2005 C#)
    I Igor Velikorossov

    I've no experience with CE but are you able to execture your query with your parameters from a Management Studio?

    C# csharp database help sql-server visual-studio

  • regular expression problem
    I Igor Velikorossov

    A good starting point would be MSDN help ;) That section is extensive and pretty well written. Let's start with a simpler pattern. Once you get it working you can make it more complex. Suppose your pattern is smth like the following: (?<var1>\w+) "var1" is the name of your capture

    Regex r = new Regex(patter<, RegexOptions> );
    MatchCollection mc = r.Matches(your_text_to_match);
    if (mc.Count > 0)
    {
    // iterate though the collection
    // get the value with: mc[i].Groups["var1"].Value;
    }

    Well, something along these lines anyway, I'm typing it from the memory, can't check the syntax on the home pc.

    C# regex help tutorial question

  • Monitor size?
    I Igor Velikorossov

    I've been working on 2 19" for a year and half or so. Been offered by our IT to upgrade to 2 22" but refused and instead asked for a 3rd 19" (which I got now connected with a 2nd video card). The reason - I like to maximise apps. Rarely running less than 2 instances of the VS, run my models, sometimes have an instance of SQL, office apps, IE and other related stuff... I love been able to keep all things visible. Coming home to single monitor have real troubles adjusting to limiting one screen, hate switching back and forth... So go (at least) 2 big ones if you can afford it - it helps a lot. Certainly helped my performance.

    The Lounge csharp css visual-studio question

  • Name Conventions
    I Igor Velikorossov

    I reckon if you use .NET you should stick with The Guidelines - Design Guidelines, Managed code and the .NET Framework[^]

    The Lounge question

  • Preventing decompilation
    I Igor Velikorossov

    Ennis Ray Lynch, Jr. wrote:

    Also, I would hope that the use of strongly named assemblies would mitigate the risk of someone stealing code, altering, and then pawning it off as yours.

    strong names not that difficult to overcome. here[^] just an example of this.

    The Lounge csharp java question

  • Soccer...
    I Igor Velikorossov

    Maaaan that ref sucked big time... Still Aussie > Croatia Go Roos! ;P Oh yea and our goalkeeper sucked bigtime too... Guus shouda let Schwartzer play. :((

    The Lounge

  • Viewing the Code
    I Igor Velikorossov

    i use whatever default in vs. only thing i change is colors for comments and strings (to gray and green accordingly). have 2 flat 17" attached to the main pc - one for the actual ide, the other one for the app, or another ide... have another 19" flat attached via some app (can't recall the name of it) which allows me seeminglessly switching over to the other pc by just moving the mouse. that one is used for database ide. :cool:

    The Lounge

  • difference between C# and VB.Net except syntax Dinesh Says Thanx ....
    I Igor Velikorossov

    Christian Graus wrote:

    The suggestion that C# IL is faster than VB IL is, frankly, ridiculous.

    Christian pls point me where I have suggested that.

    The Lounge csharp business

  • difference between C# and VB.Net except syntax Dinesh Says Thanx ....
    I Igor Velikorossov

    Christian Graus wrote:

    The truth is, they generate the same IL

    no they don't.

    The Lounge csharp business

  • How worthwhile is MS certification for CVs/interviews and payscales?
    I Igor Velikorossov

    Daniel@SA wrote:

    It teaches (not just the course which teaches you to just past the exam) you how to lay things out, look at a project as a whole, correct terminology, etc...

    I personally disagree. For this one needs to do a project management course, or at least achieve an MCSA (software architect). If one has an MCP in web or winforms it only means she memorised all methods and properties of selected objects.

    Daniel@SA wrote:

    In my experience, with MCSE/MCSD you can add an extra $5,000 - $10,000 on your yearly income (approx, may be higher, may be less, depending on the position/company).

    MCSE quite likely will, MCSD... well I actually doubt it. IMHO good "beefy" resume is much more valuable than a certification for a software developer. ps I'm from Aus too.

    The Lounge csharp database sql-server com sysadmin

  • Free Icons
    I Igor Velikorossov

    Jeremy Falcon wrote:

    Rajendran Thiagarajan wrote:

    Icon grabber is a tool used to grab icons from any application. You can extract the icon, modify and use it.

    That may not be legal to do btw. Jeremy Falcon

    it is illegal to do so

    The Lounge question

  • args in main
    I Igor Velikorossov
    	[STAThread]
    	public static void Main(string[] args)
    	{
    		Application.EnableVisualStyles();
    		Application.DoEvents();
    		Application.Run(new myForm(args));
    	}
    
    	public class myForm : Form {
    
    		public myForm(string[] args)
    		{
    			InitializeComponent();
    
    			if (args != null && args.Length > 0)
    			{
    				for (int i = 0; i < args.Length; i++)
    				{
    					this.txt.Text += args[i];
    				}
    			}
    		}
    		// leave this method for the designer
    		private myForm()
    		{
    			InitializeComponent();
    		}
    
    		//
    		// rest of code
    		//
    
    	}
    
    C# tutorial question
  • Login

  • Don't have an account? Register

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