Rounding Floating-Point Value in C#

To round any number to its nearest whole number, you need to use static Math.Round method as shown in below […]

Updated on     Kisan Patel

Get Integral Part of Decimal in C#

To find the integer portion of a decimal or double number, you need to use System.Math.Truncate(Decimal or Double value) method […]

Updated on     Kisan Patel

Disable Browser Back Button Using JavaScript

Just add the below code in the head section of the html page. <script type=”text/javascript”> window.onunload=function(){ window.history.forward(); }; </script> The […]

Updated on     Kisan Patel

Visual studio 2015 basic Requirements

All Hardware requirements 1.6 GHZ or More Minimum 1GB RAM (If You are using virtual machine then 1.5 GB ) […]

Updated on     Kisan Patel

How do I disable right click on web page?

Just add the oncontextmenu¬†attribute to body tag as shown in below code: <body oncontextmenu=”return false;”> … </body>

Updated on     Kisan Patel