This is for a Windows forms app. I'm trying to instantiate the form objects in Program.cs and I don't know how to do that. How would I then open or show the forms in the menus on the forms? by privatly via /r/csharp
Month: May 2015
What would be a decent “poor man’s code contract approach” in the absence of support for System.Diagnostics.Contract?
I ask because I would like to use a code contract approach in an earlier version of .NET that doesn't have Systems.Diagnostics.Contract support (i.e. in Unity3D, where it's more-or-less .NET 2.0 support, well before Contract was introduced). I'm thinking: Contract.Requires = asserts at the top of methods Contract.Ensures = asserts at the bottom of methods […]
Assistance with SMTP
I would like to send an email using google SMTP. Ive made an Email class with an email method which accepts an object(which contains details to be included in the email) and the recepient's email as a string When I googled how to use SMTP all I seemed to find were articles with complete code […]
Any good resources for terms?
Sometimes the word I'm looking for to describe a concept eludes me. Does anyone have a go-to resource (dictionary/glossary, etc.) of computer science terms? Today's brain-fart: A word to describe a module that is completely self-contained and relies on no external resources to perform its task. by ex-mo-fo-sho via /r/csharp
Set up facebook authentication in ASP.NET 5 application
http://ift.tt/1AytxXk by abhijain369 via /r/csharp
Is there any way I can use my MacBook to do/learn C#?
I do have a PC, but its not a laptop and being able to use my MacBook would be a lot more convenient. by Hallager98 via /r/csharp
Skipping all errors of certain kind in piece of code
I am writing some code where I am going through an array of integers by expanding a frontier from the current array index. For example frontier.add(array[indexX + 1, indexY + 1]); And naturally I get a lot of indexoutofrangeexception's if I just let it do its thing. I could of course add throw/catch or check […]
How is the demand for telecommute/remote C# and ASP.NET MVC jobs?
How is the demand for telecommute/remote C# and ASP.NET MVC jobs? Live in USA, Thanks by techmatris via /r/csharp
Need help understanding sample question – ExceptionHandling
Source: http://ift.tt/1J6RebX Redditors, I need help understanding what needs to be done to create a solution for this sample question. I believe I will have to throw ArgumentExcpetion in each Method, and my first assumption is to use a TryCatch(ArgumentException) but I am still unclear what the question means by for each value or combination? […]