LOL, fair enough I'm bringing my woman here instead of moving off to somewhere else ;P
Igor Velikorossov
Posts
-
Working in America question [modified] -
Working in America question [modified]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
-
Find unique strings for a string arrayno worries ;)
-
Find unique strings for a string array...yes, assuming he's using .net 3+
-
Find unique strings for a string arrayList<string> newArray = new List<string>();
foreach (string token in yourArray)
{
if (!newArray.Contains(token))
{
newArray.Add(token);
}
} -
Find unique strings for a string arrayfrom 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 ;)
-
NativeMethods is inaccesible due to its protection lavelif 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....
-
code aestheticsIf 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.
-
Adding A Record (Sql Server 2005 Compact Edition and Visual Studio 2005 C#)I've no experience with CE but are you able to execture your query with your parameters from a Management Studio?
-
regular expression problemA 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 captureRegex 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.
-
Monitor size?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.
-
Name ConventionsI reckon if you use .NET you should stick with The Guidelines - Design Guidelines, Managed code and the .NET Framework[^]
-
Preventing decompilation -
Soccer...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. :((
-
Viewing the Codei 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:
-
difference between C# and VB.Net except syntax Dinesh Says Thanx ....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.
-
difference between C# and VB.Net except syntax Dinesh Says Thanx ....Christian Graus wrote:
The truth is, they generate the same IL
no they don't.
-
How worthwhile is MS certification for CVs/interviews and payscales?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.
-
Free IconsJeremy 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
-
args in main[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 // }