Skip to content
Technical Fixes
Quick Tips to Fix Technical Problems
  • Blog
  • Contact Us

Category: C#

.NET Core Templates

September 7, 2019 admin Leave a comment

Available .NET Core templates from command line  Templates Short Name Language Tags Console Application console [C#], F#, VB Common/Console Class…

Continue Reading →

Posted in: ASP.NET, C#, IIS, Templates

Swap numbers without using third variable

November 27, 2018 admin Leave a comment

swap() { int a=20, b=30; a=a+b; //a=50 (20+30) b=a-b; //b=20 (50-30) a=a-b; //a=30 (50-20) }

Continue Reading →

Posted in: Algorithms, C#

C# Constructors

April 30, 2010 admin Leave a comment

Constructors..Special type of method to initialize an object…Always have the same name as their enclosing Class…never have a return value.…

Continue Reading →

Posted in: C#

C# Static Class

admin Leave a comment

..Cannot declare a variable of static type. ..Static classes must derive from Object…They only contain static members…They cannot be instantiated…They…

Continue Reading →

Posted in: C#

SQL Server Date / Datetime Format Conversions & Functions

March 24, 2010 admin Leave a comment

SELECT convert(varchar, getdate(), 100) — mon dd yyyy hh:mmAM (or PM) — Oct 2 2010 11:01AM SELECT convert(varchar, getdate(), 101)…

Continue Reading →

Posted in: C#, DateTime, Function

Difference between two dates in C#

admin Leave a comment

Suppose you have two date in string format and you want to subtract one from another.Here is the code snippet.…

Continue Reading →

Posted in: C#, DateTime

C# Anonymous Functions

March 21, 2010 admin Leave a comment

Two Types Lambda Expressions It’s basically concept used in C# 3.0. Framework 3.5 should always use lambda expression instead of…

Continue Reading →

Posted in: C#, Data Type, Function

C# String

admin Leave a comment

No null terminating characters in C# string unlike C/C++ String and string keyword are same. String objects are immutable. Use…

Continue Reading →

Posted in: C#, String

C# Ref and Out Parameters

March 15, 2010 admin Leave a comment

Ref parameters need to be initialized before passing to a function while out parameters do not require initialization Although the…

Continue Reading →

Posted in: C#, Parameters

C# Arrays

admin Leave a comment

A jagged array is an array of array. Array is a reference type. We can use foreach statement to iterate…

Continue Reading →

Posted in: Array, C#

Post navigation

Page 1 of 2
1 2 Next →

Tag Cloud

Algorithms Android Appcelerator Array ASP.NET Blogger C# Casting Data Database Data Type DateTime DotNetNuke Editor Function General godaddy IIS Java Script MySql Networking Notepad++ OS Parameters SMTP SQL Server String Technology Template Templates Titanium Uncategorized Windows WordPress

Recent Posts

  • .NET Core Templates
  • Manage Hierarchical data in SQL Server
  • Import Excel Data to SQL Server using ASP.NET
Copyright © 2019 Technical Fixes