Skip to main content

Posts

Showing posts from March, 2016

Boxing and Unboxing in C#

Normally we hear about Boxing and Unboxing concept in C#. Let's see what it actually means. a. Boxing: Boxing is a concept of converting the value type variables into Object Types (reference types).  For e.g.   //value type int x = 100; //value type to reference type object temp = x; b. Unboxing: Unboxing is a reverse of Boxing where by the reference types are converted back to value types. For e.g. //reference type object temp=100; //reference type back to value type int x=(int) temp;

ERROR: While executing gem … (Errno::EPERM) Operation not permitted

In case you face an error as: ERROR: While executing gem … (Errno::EPERM) Operation not permitted [duplicate]   while updating or installing the gem(specially in EI Capitan), then we can do the following: Reboot your Mac into Recovery Mode by restarting your computer and holding down Command+R until the Apple logo appears on your screen. Click Utilities > Terminal. In the Terminal window, type in csrutil disable and press Enter. Restart your Mac.