---
title: "Dikshya Subedi (@Dikshya056) | Hashnode"
description: "Dikshya Subedi (@Dikshya056) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@Dikshya056"
---

@Dikshya056

# Dikshya Subedi

@Dikshya056 · Joined August 2023

### [Open/Closed Principle Explain With An Example](https://dikshyasubedi.hashnode.dev/openclosed-principle-explain-with-an-example?utm_source=hashnode&utm_medium=feed)

using System; public class Fighter { private IWeapon \_weapon; public Fighter(IWeapon weapon) { \_weapon = weapon; } public void Fight() { \_weapon.Attack(); } } public interface IWeapon { void Attack(...

3 min read · [dikshyasubedi.hashnode.dev](https://dikshyasubedi.hashnode.dev/openclosed-principle-explain-with-an-example?utm_source=hashnode&utm_medium=feed)

[Sep 20, 2023](https://hashnode.com/posts/openclosed-principle-explain-with-an-example/650b196a90a5060d130202c6)

### [Dapper in .Net 6](https://dikshyasubedi.hashnode.dev/dapper-in-net-6?utm_source=hashnode&utm_medium=feed)

Dapper is a popular lightweight Object-Relational Mapping (ORM) library for .NET applications. It was developed by Stack Overflow to provide a simple and efficient way to work with databases while minimizing the performance overhead typically associa...

2 min read · [dikshyasubedi.hashnode.dev](https://dikshyasubedi.hashnode.dev/dapper-in-net-6?utm_source=hashnode&utm_medium=feed)

[Aug 16, 2023](https://hashnode.com/posts/dapper-in-net-6/64dc5bb281c7ab6ef4167632)

### [Variable in JavaScript](https://dikshyasubedi.hashnode.dev/variable-in-javascript?utm_source=hashnode&utm_medium=feed)

In JavaScript, variables are used to store and manage data. You can declare variables using the var, let, or const keywords. Starting with ES6 (ECMAScript 2015), it's recommended to use let and const over var for better scoping and immutability, resp...

2 min read · [dikshyasubedi.hashnode.dev](https://dikshyasubedi.hashnode.dev/variable-in-javascript?utm_source=hashnode&utm_medium=feed)

[Aug 11, 2023](https://hashnode.com/posts/variable-in-javascript/64d625a558d1731b6d10f9c9)

### [Array in JavaScript](https://dikshyasubedi.hashnode.dev/array-in-javascript?utm_source=hashnode&utm_medium=feed)

In JavaScript, an array is a data structure that can hold multiple values of any type. Arrays are defined using square brackets \[ \] and can contain elements separated by commas. Here are some examples of working with arrays in JavaScript: Creating an...

2 min read · [dikshyasubedi.hashnode.dev](https://dikshyasubedi.hashnode.dev/array-in-javascript?utm_source=hashnode&utm_medium=feed)

[Aug 11, 2023](https://hashnode.com/posts/array-in-javascript/64d61d5211133326992d98d8)

### [Unique Key Vs Primary Key](https://dikshyasubedi.hashnode.dev/unique-key-vs-primary-key?utm_source=hashnode&utm_medium=feed)

Primary Key: a. It must contain unique values for each row, meaning no two rows can have the same value in the primary key column(s). b. A primary key column cannot contain NULL values, as it must uniquely identify each row. c. A table can have only ...

1 min read · [dikshyasubedi.hashnode.dev](https://dikshyasubedi.hashnode.dev/unique-key-vs-primary-key?utm_source=hashnode&utm_medium=feed)

[Aug 11, 2023](https://hashnode.com/posts/unique-key-vs-primary-key/64d61ab6e36b73d42a4ab6bc)
