Monday, July 19, 2021

Date format in javascript


Date format

 let sdate = new Date(); 

// let sdate = new Date(dt[i].Odr_Date);

 var dateString = moment(sdate).format('DD.MMM.YYYY');

Friday, July 9, 2021

Template literals in c#

Template literals in c#

string name="Rinkesh";

string str = $"My name is {name}";

Overflow with max-height

 Overflow with max-width


div#navbarSupportedContent {

        max-height: 75vh;

        overflow-y: auto;

    }

Linq Expression syntax for where condtion in linq

(Expression<Func<T, bool>> filter)