Home » Archive by categoryInterview Q&A

Difference between static and non-static variable in C#

Difference-between-static-and-non-static-variable-in-Csharp
Difference between static and non-static variable in C#   Staic Variable Non Static Variable Staic keyword must be used to declare Doesn’t use static keyword to declare variable. Also called as Object variable. Called by classname.variable Called with Ojbect.variable Only one copy would be generated. Multiple copies could...
Continue reading

NumberStyle in Parse() and TryParse() in C#

numberstyle-in-parse-and-tryparse-in-csharp
NumberStyle in Parse() and TryParse() in C# Hello folks, today we will learn about NumberStyle in Parse() and TryParse() in C# using examples one by one by taking one by one NumberStyles as shown in below image. So let’s try to understand NumberStyle in Parse() and TryParse() in...
Continue reading

Nullable types in C#

NullableTypeCsharp
Nullable types in C# C# types are divided into below two categories: Value Types: int, float, double, struct etc. Reference Type: string, class, Interface, delegates, arrays etc. By default value types are non nullable. To have nullable value type we have to use ? Nullable type is work...
Continue reading

Method Overloading in C#

method overloading in c#
Method Overloading in C# What is Method Overloading in C# ? Method overloading in c# is also known as Function overloading in C#. Method overloading allows a class to declare multiple methods with same name,but different signature.   [crayon-5bcef1be17ce0271270121/]  
Continue reading

Launch local computer exe from web page

Launch-local-computer-exe-from-web-page
Launch local computer exe from web page Hello folks, in my last post I have explained regarding Register custom URL Protocol using C# – Windows Application. If you haven’t read it I strongly recommend to read and understand first cause we will be using URL Protocol concept in our...
Continue reading

Register custom URL Protocol using C# – Windows Application

URL-Protocol-output
Register custom URL Protocol using C# – Windows Application Hello folks, today we will understand what is Custom URL protocol and how can we register custom URL protocol using C#. Below is code snippet to register custom URL protocol using C#. [crayon-5bcef1be18219395482443/]   As shown in code, let...
Continue reading

Youtube thumbline image instead video Iframe

Youtube-thumbline-image-instead-video-Iframe
Youtube thumbline image instead video Iframe Hello folks, Today I want to share one of the amazing concept how can we use Youtube thumbline image instead video Iframe!! Because sometime youtube Iframe will take more time to get load though our whole page has been loaded at client side...
Continue reading

4 ways to Convert JSON to DataTable in C# – asp.net

Convert JSON to DataTable in C# - asp.net
4 ways to Convert JSON to DataTable in C# – asp.net Problem: Sometime we do require to convert JSON to DataTable in C# Windows Application or Web application or website to display data using DataTable in GridView or DataGrid or other Server Control. I strongly recommend to read...
Continue reading




DISCLAIMER:
The content is copyrighted to technothirsty.com and may not be reproduced on other websites without permission from the owner.You may contact us using the information below.