This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace ConsoleApplication5 | |
{ | |
public abstract class Mascota | |
{ | |
abstract public void hablar(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace ConsoleApplication6 | |
{ | |
public abstract class Producto | |
{ | |
protected double precioVenta; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public abstract class Vehiculo | |
{ | |
public abstract void Encender(); | |
public abstract void Mover(); | |
public abstract void Parar(); | |
public abstract void Apagar(); | |
} | |
public class Carro : Vehiculo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace ConsoleApplication4 | |
{ | |
class Persona | |
{ | |
public string Nombre; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace ConsoleApplication4 | |
{ | |
class Persona | |
{ | |
public string Nombre; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace ConsoleApplication2 | |
{ | |
class Animal | |
{ | |
public void Comer() { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function(){ | |
$.tablesorter.addParser({ | |
// set a unique id | |
id: 'versions', | |
is: function(s) { | |
// return false so this parser is not auto detected | |
return false; | |
}, | |
format: function(s) { | |
// format your data for normalization |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE FUNCTION dbo.EXTRACT_YEAR(@periodo AS VARCHAR(max)) | |
RETURNS INT | |
AS | |
BEGIN | |
WHILE PATINDEX('%[^0-9]%', @periodo) > 0 | |
BEGIN | |
SET @periodo = REPLACE(@periodo,SUBSTRING(@periodo,PATINDEX('%[^0-9]%', @periodo),1),'') | |
END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DECLARE @Tab TABLE( | |
[id] int, | |
[test] varchar(100)) | |
INSERT INTO @Tab | |
VALUES (1, 'This is a test searching for like.') | |
INSERT INTO @Tab | |
VALUES (2, 'This is a test for alike messages.') | |
INSERT INTO @Tab | |
VALUES (3, 'It is likely the effort will fail.') | |
INSERT INTO @Tab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE FUNCTION dbo.Format_RemoveAccents( @Str varchar(8000) ) | |
RETURNS varchar(8000) | |
AS | |
BEGIN | |
/* | |
EXEMPLE : | |
SELECT dbo.Format_RemoveAccents( 'ñaàeéêèioô; Œuf un œuf' ) | |
==> naaeeeeioo; OEuf un oeuf | |
By Domilo |
OlderNewer