Posts

Split String into string Array using c#

e.g : string emopt="3:13:250000:2.13";  List<string> ArrEMISingle = new List<string>(emopt.Split(new string[] { ":" }, StringSplitOptions.None));   foreach (var emopt in ArrEMI)                     {                         if (emopt != "")                         {                             List<string> ArrEMISingle = new List<string>(emopt.Split(new string[] { ":" }, StringSplitOptions.None));                             var duration = ArrEMISingle[0];                             var interest = ArrEMISingle[1];                   ...

Get Device Type C# Asp.Net

 public static bool IsMobileBrowser()     {         bool IsMobileDevice = false;         try         {             HttpContext context = HttpContext.Current;             if (context.Request.UserAgent != null)             {                 if ((context.Request.UserAgent.ToLower().Contains("mobile") || context.Request.UserAgent.ToLower().Contains("android")))                 {                     //IsMobileDevice = true;                     IsMobileDevice = IsTablet(context.Request.UserAgent.ToLower(), true);                 }             }         }   ...

CSS Media Query Targetting Device

/*# Mobile*/ @media only screen and (min-width: 480px) { } /*# Tablet*/ @media only screen and (min-width: 768px) { } /*# Desktop*/ @media only screen and (min-width: 992px) { } /*# Huge*/ @media only screen and (min-width: 1280px) { }

How to Become a Freelance Programmer in 2020?

Image
What could be better than being your boss? You could work at a time that is convenient for you and work with people that you want to work with. You could also take holidays whenever you wanted to or even work 24/7 to expand your career. Whatever you want to do, you can do it as a freelance programmer. However, you should also keep in mind that while freelancing provides you total freedom to shape your career, you also need to be disciplined, hardworking, and invest a substantial amount of time before you see great results. But you WILL see great results in the long term if you keep working! 1. Learn the required Programming Languages What is the most important thing you need to know to become a freelance programmer in 2020? It’s programming languages of course! How can you offer your services as a freelance programmer if you are not an expert in at least one programming language? That is the fundamental requirement for becoming a successful freelance programmer. Currently, some...

How Google Works

The Google Search Engine Google's search engine is a powerful tool. Without search engines like Google, it would be practically impossible to find the information you need when you browse the Web. Like all search engines, Google uses a special  algorithm  to generate search results. While Google shares general facts about its algorithm, the specifics are a company secret. This helps Google remain competitive with other search engines on the Web and reduces the chance of someone finding out how to abuse the system. Google uses automated programs called  spiders  or  crawlers , just like most search engines. Also like other search engines, Google has a large index of  keywords  and where those words can be found. What sets Google apart is how it ranks search results, which in turn determines the order Google displays results on its search engine results page (SERP). Google uses a trademarked algorithm called  PageRank , which assigns ea...

Javascript

JavaScript is a lightweight, interpreted programming language. It is designed for creating network-centric applications. It is complimentary to and integrated with Java. JavaScript is very easy to implement because it is integrated with HTML. It is open and cross-platform.

What does C# (C Sharp) mean?

C# is a general object-oriented programming (OOP) language for networking and Web development. C# is specified as a common language infrastructure (CLI) language. In January 1999, Dutch software engineer Anders Hejlsberg formed a team to develop C# as a complement to Microsoft’s NET framework. Initially, C# was developed as C-Like Object Oriented Language (Cool). The actual name was changed to avert potential trademark issues. In January 2000, NET was released as C#. Its NET framework promotes multiple Web technologies. The term is sometimes spelled as C Sharp or C-Sharp. The term’s # character derives its name from the musical sharp key, which denotes a one semitone pitch increase. C# is pronounced "see sharp." C# improved and updated many C and C++ features, including the following: C# has a strict Boolean data variable type, such as bool, whereas C++ bool variable types may be returned as integers or pointers to avoid common programming errors. C# automat...