Slope of the line parallel to the line with the given slope | C # implementation of the approach ; Function to return the slope of the line which is parallel to the line with the given slope ; Driver code
class GFG { static double getSlope ( double m ) { return m ; } static void Main ( ) { double m = 2 ; System . Console . Write ( getSlope ( m ) ) ; } }